#989D2E#989D2E
#989D2E is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.131 H 112.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #989D2E |
|---|---|
| RGB | rgb(152, 157, 46) |
| HSL | hsl(63, 55%, 40%) |
| HSV | hsv(63, 71%, 62%) |
| CMYK | cmyk(3.2%, 0%, 70.7%, 38.4%) |
| CIE-LAB | lab(62.50, -15.87, 54.38) |
| CIE-LCH | lch(62.50, 56.65, 106.27°) |
| OKLab | oklab(67.12% -0.0489 0.1212) |
| OKLCH | oklch(67.12% 0.131 112) |
| XYZ | xyz(25.4998, 30.9872, 7.2221) |
| Luminance | 0.3099 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.99
Baby Poop Green
#8F9805
ΔE00 3.07
Baby Shit Green
#889717
ΔE00 3.66
Vomit
#A2A415
ΔE00 3.74
Pea Soup Green
#94A617
ΔE00 4.06
Puke
#A5A502
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989D2E #332E9D
analogous
#9D6B2E #989D2E #609D2E
triadic
#989D2E #2E989D #9D2E98
tetradic
#989D2E #2E9D6B #332E9D #9D2E60
square
#989D2E #2E9D6B #332E9D #9D2E60
split-complementary
#989D2E #2E609D #6B2E9D
monochromatic
#3C3E12 #6A6E20 #989D2E #C1C741 #D1D570
Accessibility & contrast
On white
2.92
#989D2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#989D2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989D2E
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989D2E | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9961C
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#A29387
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #989d2e; /* rgb */ color: rgb(152, 157, 46); /* oklch */ color: oklch(67.1% 0.131 112.0);
Tailwind
colors: {
custom: {
50: '#b9b96e',
500: '#989d2e',
950: '#000000',
},
}SCSS
$custom: #989d2e; $custom-light: #b9b96e; $custom-dark: #000000;
JSON
{
"hex": "#989d2e",
"rgb": {
"r": 152,
"g": 157,
"b": 46
},
"hsl": {
"h": 62.703,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.67124,
"c": 0.13065,
"h": 112
},
"luminance": 0.30987
}Semantic roles & 50–950 ramp
primary
#989D2E
secondary
#6E6ABD
accent
#4ADE50
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B