#989F22#989F22
#989F22 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.140 H 112.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #989F22 |
|---|---|
| RGB | rgb(152, 159, 34) |
| HSL | hsl(63, 65%, 38%) |
| HSV | hsv(63, 79%, 62%) |
| CMYK | cmyk(4.4%, 0%, 78.6%, 37.6%) |
| CIE-LAB | lab(63.00, -17.46, 59.02) |
| CIE-LCH | lch(63.00, 61.55, 106.48°) |
| OKLab | oklab(67.51% -0.0544 0.1288) |
| OKLCH | oklch(67.51% 0.14 112.9) |
| XYZ | xyz(25.6366, 31.5878, 6.2596) |
| Luminance | 0.3159 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.37
Baby Poop Green
#8F9805
ΔE00 2.63
Vomit
#A2A415
ΔE00 2.75
Pea Soup Green
#94A617
ΔE00 3.00
Baby Shit Green
#889717
ΔE00 3.66
Puke
#A5A502
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989F22 #29229F
analogous
#9F6722 #989F22 #599F22
triadic
#989F22 #22989F #9F2298
tetradic
#989F22 #229F67 #29229F #9F2259
square
#989F22 #229F67 #29229F #9F2259
split-complementary
#989F22 #22599F #67229F
monochromatic
#383A0C #686D17 #989F22 #C8D12D #D6DD5F
Accessibility & contrast
On white
2.87
#989F22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#989F22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989F22
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989F22 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989f22; /* rgb */ color: rgb(152, 159, 34); /* oklch */ color: oklch(67.5% 0.140 112.9);
Tailwind
colors: {
custom: {
50: '#babb69',
500: '#989f22',
950: '#000000',
},
}SCSS
$custom: #989f22; $custom-light: #babb69; $custom-dark: #000000;
JSON
{
"hex": "#989f22",
"rgb": {
"r": 152,
"g": 159,
"b": 34
},
"hsl": {
"h": 63.36,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.67506,
"c": 0.13982,
"h": 112.9
},
"luminance": 0.31587
}Semantic roles & 50–950 ramp
primary
#989F22
secondary
#615BC1
accent
#40E849
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A