#989D1F#989D1F
#989D1F is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.139 H 112.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #989D1F |
|---|---|
| RGB | rgb(152, 157, 31) |
| HSL | hsl(62, 67%, 37%) |
| HSV | hsv(62, 80%, 62%) |
| CMYK | cmyk(3.2%, 0%, 80.3%, 38.4%) |
| CIE-LAB | lab(62.41, -16.55, 59.39) |
| CIE-LCH | lch(62.41, 61.66, 105.57°) |
| OKLab | oklab(67.03% -0.0521 0.1291) |
| OKLCH | oklch(67.03% 0.139 112) |
| XYZ | xyz(25.2541, 30.8889, 5.9279) |
| Luminance | 0.3089 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.88
Baby Poop Green
#8F9805
ΔE00 2.25
Vomit
#A2A415
ΔE00 2.83
Baby Shit Green
#889717
ΔE00 3.60
Pea Soup Green
#94A617
ΔE00 3.67
Puke
#A5A502
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989D1F #241F9D
analogous
#9D631F #989D1F #599D1F
triadic
#989D1F #1F989D #9D1F98
tetradic
#989D1F #1F9D63 #241F9D #9D1F59
square
#989D1F #1F9D63 #241F9D #9D1F59
split-complementary
#989D1F #1F599D #631F9D
monochromatic
#35370B #676A15 #989D1F #C9D029 #D9DE58
Accessibility & contrast
On white
2.93
#989D1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#989D1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989D1F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989D1F | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AA982B
Tritanopia (blue-blind)
#A39386
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #989d1f; /* rgb */ color: rgb(152, 157, 31); /* oklch */ color: oklch(67.0% 0.139 112.0);
Tailwind
colors: {
custom: {
50: '#bab967',
500: '#989d1f',
950: '#000000',
},
}SCSS
$custom: #989d1f; $custom-light: #bab967; $custom-dark: #000000;
JSON
{
"hex": "#989d1f",
"rgb": {
"r": 152,
"g": 157,
"b": 31
},
"hsl": {
"h": 62.381,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.67031,
"c": 0.13919,
"h": 112
},
"luminance": 0.30888
}Semantic roles & 50–950 ramp
primary
#989D1F
secondary
#5A56C2
accent
#3EEA45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A