#989D2F#989D2F
#989D2F is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.130 H 112.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #989D2F |
|---|---|
| RGB | rgb(152, 157, 47) |
| HSL | hsl(63, 54%, 40%) |
| HSV | hsv(63, 70%, 62%) |
| CMYK | cmyk(3.2%, 0%, 70.1%, 38.4%) |
| CIE-LAB | lab(62.50, -15.81, 54.00) |
| CIE-LCH | lch(62.50, 56.27, 106.32°) |
| OKLab | oklab(67.13% -0.0487 0.1205) |
| OKLCH | oklch(67.13% 0.13 112) |
| XYZ | xyz(25.5197, 30.9952, 7.3271) |
| Luminance | 0.3100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.08
Baby Poop Green
#8F9805
ΔE00 3.15
Baby Shit Green
#889717
ΔE00 3.69
Vomit
#A2A415
ΔE00 3.82
Pea Soup Green
#94A617
ΔE00 4.12
Puke
#A5A502
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989D2F #342F9D
analogous
#9D6B2F #989D2F #619D2F
triadic
#989D2F #2F989D #9D2F98
tetradic
#989D2F #2F9D6B #342F9D #9D2F61
square
#989D2F #2F9D6B #342F9D #9D2F61
split-complementary
#989D2F #2F619D #6B2F9D
monochromatic
#3D3F13 #6A6E21 #989D2F #C1C743 #D0D572
Accessibility & contrast
On white
2.92
#989D2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#989D2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989D2F
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989D2F | 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)
#A9961D
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#A29387
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #989d2f; /* rgb */ color: rgb(152, 157, 47); /* oklch */ color: oklch(67.1% 0.130 112.0);
Tailwind
colors: {
custom: {
50: '#b9b96f',
500: '#989d2f',
950: '#000000',
},
}SCSS
$custom: #989d2f; $custom-light: #b9b96f; $custom-dark: #000000;
JSON
{
"hex": "#989d2f",
"rgb": {
"r": 152,
"g": 157,
"b": 47
},
"hsl": {
"h": 62.727,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.67132,
"c": 0.12998,
"h": 112
},
"luminance": 0.30995
}Semantic roles & 50–950 ramp
primary
#989D2F
secondary
#6F6BBC
accent
#4BDD51
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B