#989F31#989F31
#989F31 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.6% C 0.131 H 113.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #989F31 |
|---|---|
| RGB | rgb(152, 159, 49) |
| HSL | hsl(64, 53%, 41%) |
| HSV | hsv(64, 69%, 62%) |
| CMYK | cmyk(4.4%, 0%, 69.2%, 37.6%) |
| CIE-LAB | lab(63.09, -16.73, 53.80) |
| CIE-LCH | lch(63.09, 56.35, 107.28°) |
| OKLab | oklab(67.61% -0.051 0.1205) |
| OKLCH | oklch(67.61% 0.131 113) |
| XYZ | xyz(25.9022, 31.6940, 7.6582) |
| Luminance | 0.3169 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.46
Baby Poop Green
#8F9805
ΔE00 3.50
Pea Soup Green
#94A617
ΔE00 3.60
Vomit
#A2A415
ΔE00 3.81
Baby Shit Green
#889717
ΔE00 3.82
Vomit Green
#89A203
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989F31 #38319F
analogous
#9F6F31 #989F31 #619F31
triadic
#989F31 #31989F #9F3198
tetradic
#989F31 #319F6F #38319F #9F3161
square
#989F31 #319F6F #38319F #9F3161
split-complementary
#989F31 #31619F #6F319F
monochromatic
#3F4114 #6B7023 #989F31 #BEC647 #CFD576
Accessibility & contrast
On white
2.86
#989F31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#989F31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989F31
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989F31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989F31 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9720
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#A29589
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #989f31; /* rgb */ color: rgb(152, 159, 49); /* oklch */ color: oklch(67.6% 0.131 113.0);
Tailwind
colors: {
custom: {
50: '#b9bb70',
500: '#989f31',
950: '#000000',
},
}SCSS
$custom: #989f31; $custom-light: #b9bb70; $custom-dark: #000000;
JSON
{
"hex": "#989f31",
"rgb": {
"r": 152,
"g": 159,
"b": 49
},
"hsl": {
"h": 63.818,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.67605,
"c": 0.13081,
"h": 113
},
"luminance": 0.31693
}Semantic roles & 50–950 ramp
primary
#989F31
secondary
#746FBD
accent
#4CDC55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B