#998F24#998F24
#998F24 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.123 H 103.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #998F24 |
|---|---|
| RGB | rgb(153, 143, 36) |
| HSL | hsl(55, 62%, 37%) |
| HSV | hsv(55, 76%, 60%) |
| CMYK | cmyk(0%, 6.5%, 76.5%, 40%) |
| CIE-LAB | lab(58.55, -8.51, 54.31) |
| CIE-LCH | lch(58.55, 54.97, 98.91°) |
| OKLab | oklab(63.98% -0.0293 0.1191) |
| OKLCH | oklch(63.98% 0.123 103.8) |
| XYZ | xyz(23.2788, 26.5456, 5.5663) |
| Luminance | 0.2655 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.51
Baby Poop Green
#8F9805
ΔE00 5.69
Baby Poo
#AB9004
ΔE00 5.69
Baby Shit Brown
#AD900D
ΔE00 6.14
Diarrhea
#9F8303
ΔE00 6.43
Dark Mustard
#A88905
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F24 #242E99
analogous
#995524 #998F24 #699924
triadic
#998F24 #24998F #8F2499
tetradic
#998F24 #249955 #242E99 #992469
square
#998F24 #249955 #242E99 #992469
split-complementary
#998F24 #246999 #552499
monochromatic
#36320D #676118 #998F24 #CBBD30 #D9CF5E
Accessibility & contrast
On white
3.33
#998F24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#998F24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F24
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F24 | 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)
#9C8A0D
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f24; /* rgb */ color: rgb(153, 143, 36); /* oklch */ color: oklch(64.0% 0.123 103.8);
Tailwind
colors: {
custom: {
50: '#bbaf68',
500: '#998f24',
950: '#000000',
},
}SCSS
$custom: #998f24; $custom-light: #bbaf68; $custom-dark: #000000;
JSON
{
"hex": "#998f24",
"rgb": {
"r": 153,
"g": 143,
"b": 36
},
"hsl": {
"h": 54.872,
"s": 61.905,
"l": 37.059
},
"oklch": {
"l": 0.63977,
"c": 0.12267,
"h": 103.8
},
"luminance": 0.26545
}Semantic roles & 50–950 ramp
primary
#998F24
secondary
#5B63BE
accent
#51E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A