#989E1F#989E1F
#989E1F is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.140 H 112.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #989E1F |
|---|---|
| RGB | rgb(152, 158, 31) |
| HSL | hsl(63, 67%, 37%) |
| HSV | hsv(63, 80%, 62%) |
| CMYK | cmyk(3.8%, 0%, 80.4%, 38%) |
| CIE-LAB | lab(62.70, -17.07, 59.65) |
| CIE-LCH | lch(62.70, 62.04, 105.97°) |
| OKLab | oklab(67.26% -0.0536 0.1296) |
| OKLCH | oklch(67.26% 0.14 112.5) |
| XYZ | xyz(25.4239, 31.2287, 5.9845) |
| Luminance | 0.3123 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.03
Baby Poop Green
#8F9805
ΔE00 2.37
Vomit
#A2A415
ΔE00 2.70
Pea Soup Green
#94A617
ΔE00 3.32
Baby Shit Green
#889717
ΔE00 3.63
Puke
#A5A502
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989E1F #251F9E
analogous
#9E651F #989E1F #589E1F
triadic
#989E1F #1F989E #9E1F98
tetradic
#989E1F #1F9E65 #251F9E #9E1F58
square
#989E1F #1F9E65 #251F9E #9E1F58
split-complementary
#989E1F #1F589E #651F9E
monochromatic
#36380B #676B15 #989E1F #C9D129 #D8DE59
Accessibility & contrast
On white
2.90
#989E1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#989E1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989E1F
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989E1F | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989e1f; /* rgb */ color: rgb(152, 158, 31); /* oklch */ color: oklch(67.3% 0.140 112.5);
Tailwind
colors: {
custom: {
50: '#baba67',
500: '#989e1f',
950: '#000000',
},
}SCSS
$custom: #989e1f; $custom-light: #baba67; $custom-dark: #000000;
JSON
{
"hex": "#989e1f",
"rgb": {
"r": 152,
"g": 158,
"b": 31
},
"hsl": {
"h": 62.835,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.67261,
"c": 0.14023,
"h": 112.5
},
"luminance": 0.31228
}Semantic roles & 50–950 ramp
primary
#989E1F
secondary
#5C56C2
accent
#3EEA46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A