#989C2A#989C2A
#989C2A is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.9% C 0.132 H 111.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #989C2A |
|---|---|
| RGB | rgb(152, 156, 42) |
| HSL | hsl(62, 58%, 39%) |
| HSV | hsv(62, 73%, 61%) |
| CMYK | cmyk(2.6%, 0%, 73.1%, 38.8%) |
| CIE-LAB | lab(62.19, -15.56, 55.57) |
| CIE-LCH | lch(62.19, 57.71, 105.64°) |
| OKLab | oklab(66.87% -0.0484 0.123) |
| OKLCH | oklch(66.87% 0.132 111.5) |
| XYZ | xyz(25.2561, 30.6201, 6.7699) |
| Luminance | 0.3062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.57
Baby Poop Green
#8F9805
ΔE00 2.73
Vomit
#A2A415
ΔE00 3.58
Baby Shit Green
#889717
ΔE00 3.59
Pea Soup Green
#94A617
ΔE00 4.24
Puke
#A5A502
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989C2A #2E2A9C
analogous
#9C672A #989C2A #5F9C2A
triadic
#989C2A #2A989C #9C2A98
tetradic
#989C2A #2A9C67 #2E2A9C #9C2A5F
square
#989C2A #2A9C67 #2E2A9C #9C2A5F
split-complementary
#989C2A #2A5F9C #672A9C
monochromatic
#3A3C10 #696C1D #989C2A #C5CA39 #D3D76A
Accessibility & contrast
On white
2.95
#989C2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#989C2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989C2A
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989C2A | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89514
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#A39286
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #989c2a; /* rgb */ color: rgb(152, 156, 42); /* oklch */ color: oklch(66.9% 0.132 111.5);
Tailwind
colors: {
custom: {
50: '#bab96c',
500: '#989c2a',
950: '#000000',
},
}SCSS
$custom: #989c2a; $custom-light: #bab96c; $custom-dark: #000000;
JSON
{
"hex": "#989c2a",
"rgb": {
"r": 152,
"g": 156,
"b": 42
},
"hsl": {
"h": 62.105,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.66867,
"c": 0.13214,
"h": 111.5
},
"luminance": 0.3062
}Semantic roles & 50–950 ramp
primary
#989C2A
secondary
#6865BD
accent
#47E14C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A