#989E1B#989E1B
#989E1B is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.142 H 112.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #989E1B |
|---|---|
| RGB | rgb(152, 158, 27) |
| HSL | hsl(63, 71%, 36%) |
| HSV | hsv(63, 83%, 62%) |
| CMYK | cmyk(3.8%, 0%, 82.9%, 38%) |
| CIE-LAB | lab(62.68, -17.20, 60.74) |
| CIE-LCH | lch(62.68, 63.13, 105.81°) |
| OKLab | oklab(67.24% -0.0542 0.1312) |
| OKLCH | oklch(67.24% 0.142 112.5) |
| XYZ | xyz(25.3745, 31.2089, 5.7240) |
| Luminance | 0.3121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.88
Baby Poop Green
#8F9805
ΔE00 2.29
Vomit
#A2A415
ΔE00 2.56
Pea Soup Green
#94A617
ΔE00 3.30
Puke
#A5A502
ΔE00 3.54
Baby Shit Green
#889717
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989E1B #211B9E
analogous
#9E631B #989E1B #579E1B
triadic
#989E1B #1B989E #9E1B98
tetradic
#989E1B #1B9E63 #211B9E #9E1B57
square
#989E1B #1B9E63 #211B9E #9E1B57
split-complementary
#989E1B #1B579E #631B9E
monochromatic
#333509 #666A12 #989E1B #CAD224 #DBE152
Accessibility & contrast
On white
2.90
#989E1B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#989E1B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989E1B
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989E1B | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB9928
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989e1b; /* rgb */ color: rgb(152, 158, 27); /* oklch */ color: oklch(67.2% 0.142 112.5);
Tailwind
colors: {
custom: {
50: '#baba66',
500: '#989e1b',
950: '#000000',
},
}SCSS
$custom: #989e1b; $custom-light: #baba66; $custom-dark: #000000;
JSON
{
"hex": "#989e1b",
"rgb": {
"r": 152,
"g": 158,
"b": 27
},
"hsl": {
"h": 62.748,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.67242,
"c": 0.14198,
"h": 112.5
},
"luminance": 0.31208
}Semantic roles & 50–950 ramp
primary
#989E1B
secondary
#5651C4
accent
#3AEE42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A