#998E20#998E20
#998E20 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.124 H 103.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #998E20 |
|---|---|
| RGB | rgb(153, 142, 32) |
| HSL | hsl(55, 65%, 36%) |
| HSV | hsv(55, 79%, 60%) |
| CMYK | cmyk(0%, 7.2%, 79.1%, 40%) |
| CIE-LAB | lab(58.25, -8.14, 55.39) |
| CIE-LCH | lch(58.25, 55.99, 98.36°) |
| OKLab | oklab(63.73% -0.0287 0.1206) |
| OKLCH | oklch(63.73% 0.124 103.4) |
| XYZ | xyz(23.0716, 26.2236, 5.2126) |
| Luminance | 0.2622 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.38
Pea Soup
#929901
ΔE00 5.76
Baby Shit Brown
#AD900D
ΔE00 5.85
Baby Poop Green
#8F9805
ΔE00 5.95
Diarrhea
#9F8303
ΔE00 5.98
Dark Mustard
#A88905
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E20 #202B99
analogous
#995220 #998E20 #689920
triadic
#998E20 #20998E #8E2099
tetradic
#998E20 #209952 #202B99 #992068
square
#998E20 #209952 #202B99 #992068
split-complementary
#998E20 #206899 #522099
monochromatic
#34300B #665F15 #998E20 #CCBD2B #DCD057
Accessibility & contrast
On white
3.36
#998E20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#998E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E20
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E20 | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8903
Deuteranopia (green-blind)
#9F8E29
Tritanopia (blue-blind)
#A5847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998e20; /* rgb */ color: rgb(153, 142, 32); /* oklch */ color: oklch(63.7% 0.124 103.4);
Tailwind
colors: {
custom: {
50: '#bbae66',
500: '#998e20',
950: '#000000',
},
}SCSS
$custom: #998e20; $custom-light: #bbae66; $custom-dark: #000000;
JSON
{
"hex": "#998e20",
"rgb": {
"r": 153,
"g": 142,
"b": 32
},
"hsl": {
"h": 54.545,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.6373,
"c": 0.12399,
"h": 103.4
},
"luminance": 0.26223
}Semantic roles & 50–950 ramp
primary
#998E20
secondary
#555FC0
accent
#4FE83F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A