#988E22#988E22
#988E22 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.123 H 103.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #988E22 |
|---|---|
| RGB | rgb(152, 142, 34) |
| HSL | hsl(55, 63%, 36%) |
| HSV | hsv(55, 78%, 60%) |
| CMYK | cmyk(0%, 6.6%, 77.6%, 40.4%) |
| CIE-LAB | lab(58.17, -8.51, 54.62) |
| CIE-LCH | lch(58.17, 55.27, 98.86°) |
| OKLab | oklab(63.65% -0.0295 0.1194) |
| OKLCH | oklch(63.65% 0.123 103.9) |
| XYZ | xyz(22.9117, 26.1379, 5.3513) |
| Luminance | 0.2614 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.62
Baby Poo
#AB9004
ΔE00 5.74
Baby Poop Green
#8F9805
ΔE00 5.78
Baby Shit Brown
#AD900D
ΔE00 6.20
Diarrhea
#9F8303
ΔE00 6.26
Olive
#808000
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988E22 #222C98
analogous
#985322 #988E22 #679822
triadic
#988E22 #22988E #8E2298
tetradic
#988E22 #229853 #222C98 #982267
square
#988E22 #229853 #222C98 #982267
split-complementary
#988E22 #226798 #532298
monochromatic
#34310C #665F17 #988E22 #CABD2D #DACF5A
Accessibility & contrast
On white
3.37
#988E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#988E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988E22
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988E22 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8909
Deuteranopia (green-blind)
#9F8E2A
Tritanopia (blue-blind)
#A4847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #988e22; /* rgb */ color: rgb(152, 142, 34); /* oklch */ color: oklch(63.6% 0.123 103.9);
Tailwind
colors: {
custom: {
50: '#baae66',
500: '#988e22',
950: '#000000',
},
}SCSS
$custom: #988e22; $custom-light: #baae66; $custom-dark: #000000;
JSON
{
"hex": "#988e22",
"rgb": {
"r": 152,
"g": 142,
"b": 34
},
"hsl": {
"h": 54.915,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.63647,
"c": 0.12299,
"h": 103.9
},
"luminance": 0.26137
}Semantic roles & 50–950 ramp
primary
#988E22
secondary
#5760BE
accent
#4FE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A