#998F22#998F22
#998F22 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.124 H 103.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #998F22 |
|---|---|
| RGB | rgb(153, 143, 34) |
| HSL | hsl(55, 64%, 37%) |
| HSV | hsv(55, 78%, 60%) |
| CMYK | cmyk(0%, 6.5%, 77.8%, 40%) |
| CIE-LAB | lab(58.54, -8.60, 54.99) |
| CIE-LCH | lch(58.54, 55.66, 98.88°) |
| OKLab | oklab(63.97% -0.0298 0.1202) |
| OKLCH | oklch(63.97% 0.124 103.9) |
| XYZ | xyz(23.2491, 26.5337, 5.4099) |
| Luminance | 0.2653 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.43
Baby Poo
#AB9004
ΔE00 5.61
Baby Poop Green
#8F9805
ΔE00 5.62
Baby Shit Brown
#AD900D
ΔE00 6.08
Diarrhea
#9F8303
ΔE00 6.39
Dark Mustard
#A88905
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F22 #222C99
analogous
#995422 #998F22 #689922
triadic
#998F22 #22998F #8F2299
tetradic
#998F22 #229954 #222C99 #992268
square
#998F22 #229954 #222C99 #992268
split-complementary
#998F22 #226899 #542299
monochromatic
#35310C #676017 #998F22 #CBBE2D #DBD05B
Accessibility & contrast
On white
3.33
#998F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#998F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F22
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F22 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A08
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#A5857A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f22; /* rgb */ color: rgb(153, 143, 34); /* oklch */ color: oklch(64.0% 0.124 103.9);
Tailwind
colors: {
custom: {
50: '#bbaf67',
500: '#998f22',
950: '#000000',
},
}SCSS
$custom: #998f22; $custom-light: #bbaf67; $custom-dark: #000000;
JSON
{
"hex": "#998f22",
"rgb": {
"r": 153,
"g": 143,
"b": 34
},
"hsl": {
"h": 54.958,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.63965,
"c": 0.1238,
"h": 103.9
},
"luminance": 0.26533
}Semantic roles & 50–950 ramp
primary
#998F22
secondary
#5861BF
accent
#4FE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A