#989D2C#989D2C
#989D2C is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.132 H 112.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #989D2C |
|---|---|
| RGB | rgb(152, 157, 44) |
| HSL | hsl(63, 56%, 39%) |
| HSV | hsv(63, 72%, 62%) |
| CMYK | cmyk(3.2%, 0%, 72%, 38.4%) |
| CIE-LAB | lab(62.48, -15.97, 55.12) |
| CIE-LCH | lch(62.48, 57.39, 106.16°) |
| OKLab | oklab(67.11% -0.0494 0.1224) |
| OKLCH | oklch(67.11% 0.132 112) |
| XYZ | xyz(25.4613, 30.9718, 7.0193) |
| Luminance | 0.3097 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.80
Baby Poop Green
#8F9805
ΔE00 2.91
Vomit
#A2A415
ΔE00 3.58
Baby Shit Green
#889717
ΔE00 3.61
Pea Soup Green
#94A617
ΔE00 3.97
Puke
#A5A502
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989D2C #312C9D
analogous
#9D6A2C #989D2C #609D2C
triadic
#989D2C #2C989D #9D2C98
tetradic
#989D2C #2C9D6A #312C9D #9D2C60
square
#989D2C #2C9D6A #312C9D #9D2C60
split-complementary
#989D2C #2C609D #6A2C9D
monochromatic
#3B3D11 #6A6D1F #989D2C #C3C93D #D2D66D
Accessibility & contrast
On white
2.92
#989D2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#989D2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989D2C
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989D2C | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99618
Deuteranopia (green-blind)
#AA9835
Tritanopia (blue-blind)
#A39387
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #989d2c; /* rgb */ color: rgb(152, 157, 44); /* oklch */ color: oklch(67.1% 0.132 112.0);
Tailwind
colors: {
custom: {
50: '#b9b96d',
500: '#989d2c',
950: '#000000',
},
}SCSS
$custom: #989d2c; $custom-light: #b9b96d; $custom-dark: #000000;
JSON
{
"hex": "#989d2c",
"rgb": {
"r": 152,
"g": 157,
"b": 44
},
"hsl": {
"h": 62.655,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.6711,
"c": 0.13197,
"h": 112
},
"luminance": 0.30971
}Semantic roles & 50–950 ramp
primary
#989D2C
secondary
#6B68BD
accent
#48E04F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A