#998C20#998C20
#998C20 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.3% C 0.122 H 102.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #998C20 |
|---|---|
| RGB | rgb(153, 140, 32) |
| HSL | hsl(54, 65%, 36%) |
| HSV | hsv(54, 79%, 60%) |
| CMYK | cmyk(0%, 8.5%, 79.1%, 40%) |
| CIE-LAB | lab(57.69, -7.05, 54.89) |
| CIE-LCH | lch(57.69, 55.34, 97.32°) |
| OKLab | oklab(63.28% -0.0256 0.1195) |
| OKLCH | oklch(63.28% 0.122 102.1) |
| XYZ | xyz(22.7767, 25.6338, 5.1143) |
| Luminance | 0.2563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.13
Diarrhea
#9F8303
ΔE00 5.23
Baby Shit Brown
#AD900D
ΔE00 5.56
Dark Mustard
#A88905
ΔE00 5.63
Baby Poop
#937C00
ΔE00 6.06
Olive
#808000
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998C20 #202D99
analogous
#995020 #998C20 #6A9920
triadic
#998C20 #20998C #8C2099
tetradic
#998C20 #209950 #202D99 #99206A
square
#998C20 #209950 #202D99 #99206A
split-complementary
#998C20 #206A99 #502099
monochromatic
#342F0B #665E15 #998C20 #CCBA2B #DCCE57
Accessibility & contrast
On white
3.43
#998C20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#998C20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998C20
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998C20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998C20 | 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)
#9A8704
Deuteranopia (green-blind)
#9D8D28
Tritanopia (blue-blind)
#A58178
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #998c20; /* rgb */ color: rgb(153, 140, 32); /* oklch */ color: oklch(63.3% 0.122 102.1);
Tailwind
colors: {
custom: {
50: '#bbad65',
500: '#998c20',
950: '#000000',
},
}SCSS
$custom: #998c20; $custom-light: #bbad65; $custom-dark: #000000;
JSON
{
"hex": "#998c20",
"rgb": {
"r": 153,
"g": 140,
"b": 32
},
"hsl": {
"h": 53.554,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.63284,
"c": 0.12225,
"h": 102.1
},
"luminance": 0.25633
}Semantic roles & 50–950 ramp
primary
#998C20
secondary
#5560C0
accent
#52E83F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A