#989221#989221
#989221 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.5% C 0.127 H 106.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #989221 |
|---|---|
| RGB | rgb(152, 146, 33) |
| HSL | hsl(57, 64%, 36%) |
| HSV | hsv(57, 78%, 60%) |
| CMYK | cmyk(0%, 3.9%, 78.3%, 40.4%) |
| CIE-LAB | lab(59.29, -10.70, 55.98) |
| CIE-LCH | lch(59.29, 56.99, 100.82°) |
| OKLab | oklab(64.54% -0.0357 0.1221) |
| OKLCH | oklch(64.54% 0.127 106.3) |
| XYZ | xyz(23.5033, 27.3439, 5.4784) |
| Luminance | 0.2734 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.07
Baby Poop Green
#8F9805
ΔE00 4.27
Baby Shit Green
#889717
ΔE00 5.49
Vomit
#A2A415
ΔE00 5.97
Baby Poo
#AB9004
ΔE00 6.49
Puke
#A5A502
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989221 #212798
analogous
#985721 #989221 #639821
triadic
#989221 #219892 #922198
tetradic
#989221 #219857 #212798 #982163
square
#989221 #219857 #212798 #982163
split-complementary
#989221 #216398 #572198
monochromatic
#33310B #666216 #989221 #CAC22C #DBD459
Accessibility & contrast
On white
3.25
#989221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#989221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #989221
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989221 | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C03
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#A4887D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #989221; /* rgb */ color: rgb(152, 146, 33); /* oklch */ color: oklch(64.5% 0.127 106.3);
Tailwind
colors: {
custom: {
50: '#bab167',
500: '#989221',
950: '#000000',
},
}SCSS
$custom: #989221; $custom-light: #bab167; $custom-dark: #000000;
JSON
{
"hex": "#989221",
"rgb": {
"r": 152,
"g": 146,
"b": 33
},
"hsl": {
"h": 56.975,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.6454,
"c": 0.12723,
"h": 106.3
},
"luminance": 0.27343
}Semantic roles & 50–950 ramp
primary
#989221
secondary
#565BBF
accent
#49E740
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A