#998E16#998E16
#998E16 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.129 H 103.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #998E16 |
|---|---|
| RGB | rgb(153, 142, 22) |
| HSL | hsl(55, 75%, 34%) |
| HSV | hsv(55, 86%, 60%) |
| CMYK | cmyk(0%, 7.2%, 85.6%, 40%) |
| CIE-LAB | lab(58.20, -8.47, 58.27) |
| CIE-LCH | lch(58.20, 58.88, 98.27°) |
| OKLab | oklab(63.68% -0.0304 0.1249) |
| OKLCH | oklch(63.68% 0.129 103.7) |
| XYZ | xyz(22.9558, 26.1772, 4.6024) |
| Luminance | 0.2618 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.14
Pea Soup
#929901
ΔE00 5.55
Baby Shit Brown
#AD900D
ΔE00 5.68
Baby Poop Green
#8F9805
ΔE00 5.80
Diarrhea
#9F8303
ΔE00 5.89
Dark Mustard
#A88905
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E16 #162199
analogous
#994D16 #998E16 #639916
triadic
#998E16 #16998E #8E1699
tetradic
#998E16 #16994D #162199 #991663
square
#998E16 #16994D #162199 #991663
split-complementary
#998E16 #166399 #4D1699
monochromatic
#2E2B07 #635C0E #998E16 #CFC01E #E4D745
Accessibility & contrast
On white
3.37
#998E16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#998E16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E16
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E16 | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 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)
#9C8900
Deuteranopia (green-blind)
#9F8E22
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998e16; /* rgb */ color: rgb(153, 142, 22); /* oklch */ color: oklch(63.7% 0.129 103.7);
Tailwind
colors: {
custom: {
50: '#bbae62',
500: '#998e16',
950: '#000000',
},
}SCSS
$custom: #998e16; $custom-light: #bbae62; $custom-dark: #000000;
JSON
{
"hex": "#998e16",
"rgb": {
"r": 153,
"g": 142,
"b": 22
},
"hsl": {
"h": 54.962,
"s": 74.857,
"l": 34.314
},
"oklch": {
"l": 0.63681,
"c": 0.12853,
"h": 103.7
},
"luminance": 0.26176
}Semantic roles & 50–950 ramp
primary
#998E16
secondary
#4650C5
accent
#46F136
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A