#998F21#998F21
#998F21 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 | #998F21 |
|---|---|
| RGB | rgb(153, 143, 33) |
| HSL | hsl(55, 65%, 36%) |
| HSV | hsv(55, 78%, 60%) |
| CMYK | cmyk(0%, 6.5%, 78.4%, 40%) |
| CIE-LAB | lab(58.53, -8.64, 55.32) |
| CIE-LCH | lch(58.53, 55.99, 98.87°) |
| OKLab | oklab(63.96% -0.03 0.1207) |
| OKLCH | oklch(63.96% 0.124 103.9) |
| XYZ | xyz(23.2349, 26.5280, 5.3351) |
| Luminance | 0.2653 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.40
Baby Poo
#AB9004
ΔE00 5.58
Baby Poop Green
#8F9805
ΔE00 5.60
Baby Shit Brown
#AD900D
ΔE00 6.05
Diarrhea
#9F8303
ΔE00 6.37
Dark Mustard
#A88905
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F21 #212B99
analogous
#995321 #998F21 #679921
triadic
#998F21 #21998F #8F2199
tetradic
#998F21 #219953 #212B99 #992167
square
#998F21 #219953 #212B99 #992167
split-complementary
#998F21 #216799 #532199
monochromatic
#34310B #676016 #998F21 #CBBE2C #DBD059
Accessibility & contrast
On white
3.33
#998F21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#998F21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F21
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F21 | 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)
#9C8A05
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#A5857A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f21; /* rgb */ color: rgb(153, 143, 33); /* oklch */ color: oklch(64.0% 0.124 103.9);
Tailwind
colors: {
custom: {
50: '#bbaf66',
500: '#998f21',
950: '#000000',
},
}SCSS
$custom: #998f21; $custom-light: #bbaf66; $custom-dark: #000000;
JSON
{
"hex": "#998f21",
"rgb": {
"r": 153,
"g": 143,
"b": 33
},
"hsl": {
"h": 55,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.63959,
"c": 0.12434,
"h": 103.9
},
"luminance": 0.26527
}Semantic roles & 50–950 ramp
primary
#998F21
secondary
#565FBF
accent
#4EE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A