#998F29#998F29
#998F29 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.120 H 103.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #998F29 |
|---|---|
| RGB | rgb(153, 143, 41) |
| HSL | hsl(55, 58%, 38%) |
| HSV | hsv(55, 73%, 60%) |
| CMYK | cmyk(0%, 6.5%, 73.2%, 40%) |
| CIE-LAB | lab(58.58, -8.28, 52.49) |
| CIE-LCH | lch(58.58, 53.14, 98.96°) |
| OKLab | oklab(64.01% -0.0282 0.1162) |
| OKLCH | oklch(64.01% 0.12 103.6) |
| XYZ | xyz(23.3606, 26.5783, 5.9970) |
| Luminance | 0.2658 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.75
Baby Poop Green
#8F9805
ΔE00 5.89
Baby Poo
#AB9004
ΔE00 5.91
Baby Shit Brown
#AD900D
ΔE00 6.31
Diarrhea
#9F8303
ΔE00 6.56
Dark Mustard
#A88905
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F29 #293399
analogous
#995729 #998F29 #6B9929
triadic
#998F29 #29998F #8F2999
tetradic
#998F29 #299957 #293399 #99296B
square
#998F29 #299957 #293399 #99296B
split-complementary
#998F29 #296B99 #572999
monochromatic
#38350F #69621C #998F29 #C9BC36 #D6CC66
Accessibility & contrast
On white
3.33
#998F29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#998F29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F29
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F29 | 1.00 | 3.33 | 6.32 | 6.32 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A18
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f29; /* rgb */ color: rgb(153, 143, 41); /* oklch */ color: oklch(64.0% 0.120 103.6);
Tailwind
colors: {
custom: {
50: '#baaf6a',
500: '#998f29',
950: '#000000',
},
}SCSS
$custom: #998f29; $custom-light: #baaf6a; $custom-dark: #000000;
JSON
{
"hex": "#998f29",
"rgb": {
"r": 153,
"g": 143,
"b": 41
},
"hsl": {
"h": 54.643,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.64012,
"c": 0.11959,
"h": 103.6
},
"luminance": 0.26577
}Semantic roles & 50–950 ramp
primary
#998F29
secondary
#626ABC
accent
#55E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A