#989E2B#989E2B
#989E2B is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.3% C 0.134 H 112.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #989E2B |
|---|---|
| RGB | rgb(152, 158, 43) |
| HSL | hsl(63, 57%, 39%) |
| HSV | hsv(63, 73%, 62%) |
| CMYK | cmyk(3.8%, 0%, 72.8%, 38%) |
| CIE-LAB | lab(62.76, -16.54, 55.76) |
| CIE-LCH | lch(62.76, 58.16, 106.52°) |
| OKLab | oklab(67.33% -0.0511 0.1235) |
| OKLCH | oklch(67.33% 0.134 112.5) |
| XYZ | xyz(25.6126, 31.3041, 6.9781) |
| Luminance | 0.3130 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.81
Baby Poop Green
#8F9805
ΔE00 2.93
Vomit
#A2A415
ΔE00 3.39
Pea Soup Green
#94A617
ΔE00 3.59
Baby Shit Green
#889717
ΔE00 3.62
Puke
#A5A502
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989E2B #312B9E
analogous
#9E6A2B #989E2B #5F9E2B
triadic
#989E2B #2B989E #9E2B98
tetradic
#989E2B #2B9E6A #312B9E #9E2B5F
square
#989E2B #2B9E6A #312B9E #9E2B5F
split-complementary
#989E2B #2B5F9E #6A2B9E
monochromatic
#3B3E11 #6A6E1E #989E2B #C3CA3C #D2D76C
Accessibility & contrast
On white
2.89
#989E2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#989E2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989E2B
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989E2B | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9615
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#A29488
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989e2b; /* rgb */ color: rgb(152, 158, 43); /* oklch */ color: oklch(67.3% 0.134 112.5);
Tailwind
colors: {
custom: {
50: '#baba6d',
500: '#989e2b',
950: '#000000',
},
}SCSS
$custom: #989e2b; $custom-light: #baba6d; $custom-dark: #000000;
JSON
{
"hex": "#989e2b",
"rgb": {
"r": 152,
"g": 158,
"b": 43
},
"hsl": {
"h": 63.13,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.67332,
"c": 0.13369,
"h": 112.5
},
"luminance": 0.31304
}Semantic roles & 50–950 ramp
primary
#989E2B
secondary
#6B67BE
accent
#47E04F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A