#989E2C#989E2C
#989E2C is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.3% C 0.133 H 112.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #989E2C |
|---|---|
| RGB | rgb(152, 158, 44) |
| HSL | hsl(63, 56%, 40%) |
| HSV | hsv(63, 72%, 62%) |
| CMYK | cmyk(3.8%, 0%, 72.2%, 38%) |
| CIE-LAB | lab(62.77, -16.49, 55.40) |
| CIE-LCH | lch(62.77, 57.80, 106.58°) |
| OKLab | oklab(67.34% -0.0508 0.123) |
| OKLCH | oklch(67.34% 0.133 112.5) |
| XYZ | xyz(25.6312, 31.3116, 7.0759) |
| Luminance | 0.3131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.89
Baby Poop Green
#8F9805
ΔE00 3.00
Vomit
#A2A415
ΔE00 3.47
Baby Shit Green
#889717
ΔE00 3.63
Pea Soup Green
#94A617
ΔE00 3.64
Puke
#A5A502
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989E2C #322C9E
analogous
#9E6B2C #989E2C #5F9E2C
triadic
#989E2C #2C989E #9E2C98
tetradic
#989E2C #2C9E6B #322C9E #9E2C5F
square
#989E2C #2C9E6B #322C9E #9E2C5F
split-complementary
#989E2C #2C5F9E #6B2C9E
monochromatic
#3C3E11 #6A6E1F #989E2C #C2C93E #D1D76E
Accessibility & contrast
On white
2.89
#989E2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#989E2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989E2C
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989E2C | 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)
#AA9717
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#A29488
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989e2c; /* rgb */ color: rgb(152, 158, 44); /* oklch */ color: oklch(67.3% 0.133 112.5);
Tailwind
colors: {
custom: {
50: '#b9ba6d',
500: '#989e2c',
950: '#000000',
},
}SCSS
$custom: #989e2c; $custom-light: #b9ba6d; $custom-dark: #000000;
JSON
{
"hex": "#989e2c",
"rgb": {
"r": 152,
"g": 158,
"b": 44
},
"hsl": {
"h": 63.158,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.67339,
"c": 0.13305,
"h": 112.5
},
"luminance": 0.31311
}Semantic roles & 50–950 ramp
primary
#989E2C
secondary
#6D68BE
accent
#48E050
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A