#998F39#998F39
#998F39 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.107 H 102.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #998F39 |
|---|---|
| RGB | rgb(153, 143, 57) |
| HSL | hsl(54, 46%, 41%) |
| HSV | hsv(54, 63%, 60%) |
| CMYK | cmyk(0%, 6.5%, 62.7%, 40%) |
| CIE-LAB | lab(58.71, -7.32, 45.82) |
| CIE-LCH | lch(58.71, 46.40, 99.07°) |
| OKLab | oklab(64.15% -0.0236 0.1048) |
| OKLCH | oklch(64.15% 0.107 102.7) |
| XYZ | xyz(23.6987, 26.7135, 7.7780) |
| Luminance | 0.2671 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.08
Pea Soup
#929901
ΔE00 7.03
Baby Poo
#AB9004
ΔE00 7.06
Baby Poop Green
#8F9805
ΔE00 7.06
Baby Shit Brown
#AD900D
ΔE00 7.29
Drab
#828344
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F39 #394399
analogous
#995F39 #998F39 #739939
triadic
#998F39 #39998F #8F3999
tetradic
#998F39 #39995F #394399 #993973
square
#998F39 #39995F #394399 #993973
split-complementary
#998F39 #397399 #5F3999
monochromatic
#403C18 #6C6528 #998F39 #BEB351 #CFC67E
Accessibility & contrast
On white
3.31
#998F39 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#998F39 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F39
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F39 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8B2F
Deuteranopia (green-blind)
#9E8F3E
Tritanopia (blue-blind)
#A4867D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f39; /* rgb */ color: rgb(153, 143, 57); /* oklch */ color: oklch(64.2% 0.107 102.7);
Tailwind
colors: {
custom: {
50: '#baaf73',
500: '#998f39',
950: '#000000',
},
}SCSS
$custom: #998f39; $custom-light: #baaf73; $custom-dark: #000000;
JSON
{
"hex": "#998f39",
"rgb": {
"r": 153,
"g": 143,
"b": 57
},
"hsl": {
"h": 53.75,
"s": 45.714,
"l": 41.176
},
"oklch": {
"l": 0.64152,
"c": 0.10746,
"h": 102.7
},
"luminance": 0.26713
}Semantic roles & 50–950 ramp
primary
#998F39
secondary
#767DB8
accent
#60D552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B