#989220#989220
#989220 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.5% C 0.128 H 106.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #989220 |
|---|---|
| RGB | rgb(152, 146, 32) |
| HSL | hsl(57, 65%, 36%) |
| HSV | hsv(57, 79%, 60%) |
| CMYK | cmyk(0%, 3.9%, 78.9%, 40.4%) |
| CIE-LAB | lab(59.29, -10.74, 56.30) |
| CIE-LCH | lch(59.29, 57.31, 100.80°) |
| OKLab | oklab(64.53% -0.0359 0.1226) |
| OKLCH | oklch(64.53% 0.128 106.3) |
| XYZ | xyz(23.4895, 27.3383, 5.4057) |
| Luminance | 0.2734 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.04
Baby Poop Green
#8F9805
ΔE00 4.25
Baby Shit Green
#889717
ΔE00 5.49
Vomit
#A2A415
ΔE00 5.94
Puke
#A5A502
ΔE00 6.46
Baby Poo
#AB9004
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989220 #202698
analogous
#985620 #989220 #629820
triadic
#989220 #209892 #922098
tetradic
#989220 #209856 #202698 #982062
square
#989220 #209856 #202698 #982062
split-complementary
#989220 #206298 #562098
monochromatic
#33310B #656115 #989220 #CBC32B #DCD557
Accessibility & contrast
On white
3.25
#989220 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#989220 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #989220
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989220 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989220 | 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)
#9F8C00
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#A4887D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #989220; /* rgb */ color: rgb(152, 146, 32); /* oklch */ color: oklch(64.5% 0.128 106.3);
Tailwind
colors: {
custom: {
50: '#bab166',
500: '#989220',
950: '#000000',
},
}SCSS
$custom: #989220; $custom-light: #bab166; $custom-dark: #000000;
JSON
{
"hex": "#989220",
"rgb": {
"r": 152,
"g": 146,
"b": 32
},
"hsl": {
"h": 57,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.64534,
"c": 0.12775,
"h": 106.3
},
"luminance": 0.27337
}Semantic roles & 50–950 ramp
primary
#989220
secondary
#545ABF
accent
#48E840
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A