#989B28#989B28
#989B28 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.6% C 0.132 H 111.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #989B28 |
|---|---|
| RGB | rgb(152, 155, 40) |
| HSL | hsl(62, 59%, 38%) |
| HSV | hsv(62, 74%, 61%) |
| CMYK | cmyk(1.9%, 0%, 74.2%, 39.2%) |
| CIE-LAB | lab(61.89, -15.13, 56.00) |
| CIE-LCH | lch(61.89, 58.01, 105.12°) |
| OKLab | oklab(66.63% -0.0474 0.1235) |
| OKLCH | oklch(66.63% 0.132 111) |
| XYZ | xyz(25.0541, 30.2720, 6.5304) |
| Luminance | 0.3027 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.40
Baby Poop Green
#8F9805
ΔE00 2.60
Baby Shit Green
#889717
ΔE00 3.63
Vomit
#A2A415
ΔE00 3.64
Pea Soup Green
#94A617
ΔE00 4.53
Puke
#A5A502
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989B28 #2B289B
analogous
#9B6428 #989B28 #5E9B28
triadic
#989B28 #28989B #9B2898
tetradic
#989B28 #289B64 #2B289B #9B285E
square
#989B28 #289B64 #2B289B #9B285E
split-complementary
#989B28 #285E9B #64289B
monochromatic
#393A0F #686A1B #989B28 #C7CB35 #D5D766
Accessibility & contrast
On white
2.98
#989B28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#989B28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989B28
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989B28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989B28 | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79410
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #989b28; /* rgb */ color: rgb(152, 155, 40); /* oklch */ color: oklch(66.6% 0.132 111.0);
Tailwind
colors: {
custom: {
50: '#bab86b',
500: '#989b28',
950: '#000000',
},
}SCSS
$custom: #989b28; $custom-light: #bab86b; $custom-dark: #000000;
JSON
{
"hex": "#989b28",
"rgb": {
"r": 152,
"g": 155,
"b": 40
},
"hsl": {
"h": 61.565,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.66626,
"c": 0.1323,
"h": 111
},
"luminance": 0.30271
}Semantic roles & 50–950 ramp
primary
#989B28
secondary
#6461BD
accent
#46E24A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A