#998F16#998F16
#998F16 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.129 H 104.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #998F16 |
|---|---|
| RGB | rgb(153, 143, 22) |
| HSL | hsl(55, 75%, 34%) |
| HSV | hsv(55, 86%, 60%) |
| CMYK | cmyk(0%, 6.5%, 85.6%, 40%) |
| CIE-LAB | lab(58.49, -9.01, 58.50) |
| CIE-LCH | lch(58.49, 59.19, 98.75°) |
| OKLab | oklab(63.91% -0.0319 0.1254) |
| OKLCH | oklch(63.91% 0.129 104.3) |
| XYZ | xyz(23.1052, 26.4761, 4.6523) |
| Luminance | 0.2647 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.16
Baby Poo
#AB9004
ΔE00 5.32
Baby Poop Green
#8F9805
ΔE00 5.42
Baby Shit Brown
#AD900D
ΔE00 5.87
Diarrhea
#9F8303
ΔE00 6.28
Brown Yellow
#B29705
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F16 #162099
analogous
#994E16 #998F16 #629916
triadic
#998F16 #16998F #8F1699
tetradic
#998F16 #16994E #162099 #991662
square
#998F16 #16994E #162099 #991662
split-complementary
#998F16 #166299 #4E1699
monochromatic
#2E2B07 #635D0E #998F16 #CFC11E #E4D845
Accessibility & contrast
On white
3.34
#998F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#998F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F16
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F16 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A08F22
Tritanopia (blue-blind)
#A5847A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f16; /* rgb */ color: rgb(153, 143, 22); /* oklch */ color: oklch(63.9% 0.129 104.3);
Tailwind
colors: {
custom: {
50: '#bbaf62',
500: '#998f16',
950: '#000000',
},
}SCSS
$custom: #998f16; $custom-light: #bbaf62; $custom-dark: #000000;
JSON
{
"hex": "#998f16",
"rgb": {
"r": 153,
"g": 143,
"b": 22
},
"hsl": {
"h": 55.42,
"s": 74.857,
"l": 34.314
},
"oklch": {
"l": 0.63905,
"c": 0.12938,
"h": 104.3
},
"luminance": 0.26475
}Semantic roles & 50–950 ramp
primary
#998F16
secondary
#464FC5
accent
#45F136
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A