Yellow green color (#9ACD32)
#9ACD32 (Yellow green) is a green colour. It is rgb(154, 205, 50) in RGB and hsl(80, 61%, 50%) in HSL. Text in black reads better on it: the contrast is 11.15:1 against black and 1.88:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#9ACD32}:\quad R=\mathrm{9A}_{16}=154,\ G=\mathrm{CD}_{16}=205,\ B=\mathrm{32}_{16}=50 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
80^\circ + 180^\circ = 260^\circ ;\Rightarrow; \mathrm{#6532CD} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#9ACD32} = \mathrm{rgb}(154, 205, 50) \]
\[ \mathrm{#9ACD32}:\quad R=\mathrm{9A}_{16}=154,\ G=\mathrm{CD}_{16}=205,\ B=\mathrm{32}_{16}=50 \]
\[ H=80^\circ,\quad S=61\%,\quad L=50\% \]
\[ 80^\circ + 180^\circ = 260^\circ ;\Rightarrow; \mathrm{#6532CD} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.88:1\ \text{(on white)} \]Yellow green in every colour format
| Format | Value |
|---|---|
| HEX | #9ACD32 |
| RGB | rgb(154, 205, 50) |
| RGB (percent) | rgb(60.4%, 80.4%, 19.6%) |
| HSL | hsl(80, 61%, 50%) |
| HSV / HSB | hsv(80, 76%, 80%) |
| CMYK | cmyk(25%, 0%, 76%, 20%) |
| Decimal | 10145074 |
| Description | green |
| CSS name | yellowgreen |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 1.88:1 | fail | fail | fail | fail |
| Black text | 11.15:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1A2208 #334411 #4D6719 #678921 #80AB2A |
| This colour | #9ACD32 |
| Tints (mixed with white) | #ABD554 #BCDE76 #CDE699 #DDEEBB #EEF7DD |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #D8BF0A | 33 |
| Deuteranopia | #D1BC41 | 32 |
| Tritanopia | #A0C3B0 | 65 |
| Grayscale | #BDBDBD | - |
Nearest named colours
| Name | Hex |
|---|---|
| Green yellow | #ADFF2F |
| Olive drab | #6B8E23 |
| Lime green | #32CD32 |
| Light green | #90EE90 |
Questions
What is the RGB value of #9ACD32?
rgb(154, 205, 50): red 154, green 205, blue 50.
What is the HSL value of #9ACD32?
hsl(80, 61%, 50%): a hue of 80°, 61% saturation and 50% lightness.
What is the complementary colour of #9ACD32?
#6532CD, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #6532CD.
Should I use white or black text on #9ACD32?
Black. White gives 1.88:1 and black 11.15:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #9ACD32?
cmyk(25%, 0%, 76%, 20%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #9ACD32 a named colour?
Yes: it is the CSS colour name "yellowgreen".