#998F3F#998F3F
#998F3F is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.102 H 102.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #998F3F |
|---|---|
| RGB | rgb(153, 143, 63) |
| HSL | hsl(53, 42%, 42%) |
| HSV | hsv(53, 59%, 60%) |
| CMYK | cmyk(0%, 6.5%, 58.8%, 40%) |
| CIE-LAB | lab(58.77, -6.87, 43.05) |
| CIE-LCH | lch(58.77, 43.60, 99.07°) |
| OKLab | oklab(64.22% -0.0216 0.0998) |
| OKLCH | oklch(64.22% 0.102 102.2) |
| XYZ | xyz(23.8574, 26.7770, 8.6134) |
| Luminance | 0.2678 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.18
Drab
#828344
ΔE00 6.85
Dark Sand
#A88F59
ΔE00 7.61
Baby Poo
#AB9004
ΔE00 7.67
Baby Poop Green
#8F9805
ΔE00 7.72
Pea Soup
#929901
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F3F #3F4999
analogous
#99623F #998F3F #76993F
triadic
#998F3F #3F998F #8F3F99
tetradic
#998F3F #3F9962 #3F4999 #993F76
square
#998F3F #3F9962 #3F4999 #993F76
split-complementary
#998F3F #3F7699 #623F99
monochromatic
#423E1B #6E662D #998F3F #BBB05A #CDC585
Accessibility & contrast
On white
3.30
#998F3F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#998F3F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F3F
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F3F | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8B37
Deuteranopia (green-blind)
#9E8F43
Tritanopia (blue-blind)
#A4867D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f3f; /* rgb */ color: rgb(153, 143, 63); /* oklch */ color: oklch(64.2% 0.102 102.2);
Tailwind
colors: {
custom: {
50: '#b9af77',
500: '#998f3f',
950: '#000000',
},
}SCSS
$custom: #998f3f; $custom-light: #b9af77; $custom-dark: #000000;
JSON
{
"hex": "#998f3f",
"rgb": {
"r": 153,
"g": 143,
"b": 63
},
"hsl": {
"h": 53.333,
"s": 41.667,
"l": 42.353
},
"oklch": {
"l": 0.64218,
"c": 0.10207,
"h": 102.2
},
"luminance": 0.26776
}Semantic roles & 50–950 ramp
primary
#998F3F
secondary
#7C83B7
accent
#64D156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B