#989827#989827
#989827 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.9% C 0.130 H 109.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #989827 |
|---|---|
| RGB | rgb(152, 152, 39) |
| HSL | hsl(60, 59%, 37%) |
| HSV | hsv(60, 74%, 60%) |
| CMYK | cmyk(0%, 0%, 74.3%, 40.4%) |
| CIE-LAB | lab(61.03, -13.61, 55.54) |
| CIE-LCH | lch(61.03, 57.19, 103.77°) |
| OKLab | oklab(65.94% -0.0433 0.1223) |
| OKLCH | oklch(65.94% 0.13 109.5) |
| XYZ | xyz(24.5442, 29.2791, 6.2776) |
| Luminance | 0.2928 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.66
Baby Poop Green
#8F9805
ΔE00 2.86
Baby Shit Green
#889717
ΔE00 4.00
Vomit
#A2A415
ΔE00 4.29
Puke
#A5A502
ΔE00 5.12
Pea Soup Green
#94A617
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989827 #272798
analogous
#986027 #989827 #609827
triadic
#989827 #279898 #982798
tetradic
#989827 #279860 #272798 #982760
square
#989827 #279860 #272798 #982760
split-complementary
#989827 #276098 #602798
monochromatic
#37370E #67671B #989827 #C9C933 #D7D763
Accessibility & contrast
On white
3.06
#989827 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#989827 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #989827
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989827 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59110
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#A38E82
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #989827; /* rgb */ color: rgb(152, 152, 39); /* oklch */ color: oklch(65.9% 0.130 109.5);
Tailwind
colors: {
custom: {
50: '#bab66a',
500: '#989827',
950: '#000000',
},
}SCSS
$custom: #989827; $custom-light: #bab66a; $custom-dark: #000000;
JSON
{
"hex": "#989827",
"rgb": {
"r": 152,
"g": 152,
"b": 39
},
"hsl": {
"h": 60,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.65935,
"c": 0.12977,
"h": 109.5
},
"luminance": 0.29278
}Semantic roles & 50–950 ramp
primary
#989827
secondary
#5E5EBC
accent
#45E245
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A