#989A2A#989A2A
#989A2A is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.4% C 0.130 H 110.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #989A2A |
|---|---|
| RGB | rgb(152, 154, 42) |
| HSL | hsl(61, 57%, 38%) |
| HSV | hsv(61, 73%, 60%) |
| CMYK | cmyk(1.3%, 0%, 72.7%, 39.6%) |
| CIE-LAB | lab(61.61, -14.52, 55.02) |
| CIE-LCH | lch(61.61, 56.90, 104.78°) |
| OKLab | oklab(66.41% -0.0455 0.1218) |
| OKLCH | oklch(66.41% 0.13 110.5) |
| XYZ | xyz(24.9233, 29.9545, 6.6589) |
| Luminance | 0.2995 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.63
Baby Poop Green
#8F9805
ΔE00 2.79
Baby Shit Green
#889717
ΔE00 3.74
Vomit
#A2A415
ΔE00 3.97
Puke
#A5A502
ΔE00 4.91
Pea Soup Green
#94A617
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989A2A #2C2A9A
analogous
#9A642A #989A2A #609A2A
triadic
#989A2A #2A989A #9A2A98
tetradic
#989A2A #2A9A64 #2C2A9A #9A2A60
square
#989A2A #2A9A64 #2C2A9A #9A2A60
split-complementary
#989A2A #2A609A #642A9A
monochromatic
#393A10 #696A1D #989A2A #C6C938 #D4D668
Accessibility & contrast
On white
3.00
#989A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#989A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #989A2A
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989A2A | 1.00 | 3.00 | 6.99 | 6.99 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #989a2a; /* rgb */ color: rgb(152, 154, 42); /* oklch */ color: oklch(66.4% 0.130 110.5);
Tailwind
colors: {
custom: {
50: '#bab76c',
500: '#989a2a',
950: '#000000',
},
}SCSS
$custom: #989a2a; $custom-light: #bab76c; $custom-dark: #000000;
JSON
{
"hex": "#989a2a",
"rgb": {
"r": 152,
"g": 154,
"b": 42
},
"hsl": {
"h": 61.071,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.66411,
"c": 0.13002,
"h": 110.5
},
"luminance": 0.29954
}Semantic roles & 50–950 ramp
primary
#989A2A
secondary
#6563BC
accent
#47E04A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A