#998C22#998C22
#998C22 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.3% C 0.121 H 102.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #998C22 |
|---|---|
| RGB | rgb(153, 140, 34) |
| HSL | hsl(53, 64%, 37%) |
| HSV | hsv(53, 78%, 60%) |
| CMYK | cmyk(0%, 8.5%, 77.8%, 40%) |
| CIE-LAB | lab(57.70, -6.97, 54.22) |
| CIE-LCH | lch(57.70, 54.66, 97.33°) |
| OKLab | oklab(63.3% -0.0252 0.1185) |
| OKLCH | oklch(63.3% 0.121 102) |
| XYZ | xyz(22.8048, 25.6450, 5.2618) |
| Luminance | 0.2564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.21
Diarrhea
#9F8303
ΔE00 5.27
Baby Shit Brown
#AD900D
ΔE00 5.62
Dark Mustard
#A88905
ΔE00 5.68
Baby Poop
#937C00
ΔE00 6.09
Olive
#808000
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998C22 #222F99
analogous
#995122 #998C22 #6B9922
triadic
#998C22 #22998C #8C2299
tetradic
#998C22 #229951 #222F99 #99226B
square
#998C22 #229951 #222F99 #99226B
split-complementary
#998C22 #226B99 #512299
monochromatic
#35300C #675E17 #998C22 #CBBA2D #DBCD5B
Accessibility & contrast
On white
3.43
#998C22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#998C22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998C22
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998C22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998C22 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A880A
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#A58278
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #998c22; /* rgb */ color: rgb(153, 140, 34); /* oklch */ color: oklch(63.3% 0.121 102.0);
Tailwind
colors: {
custom: {
50: '#bbad66',
500: '#998c22',
950: '#000000',
},
}SCSS
$custom: #998c22; $custom-light: #bbad66; $custom-dark: #000000;
JSON
{
"hex": "#998c22",
"rgb": {
"r": 153,
"g": 140,
"b": 34
},
"hsl": {
"h": 53.445,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.63296,
"c": 0.12116,
"h": 102
},
"luminance": 0.25644
}Semantic roles & 50–950 ramp
primary
#998C22
secondary
#5863BF
accent
#53E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A