#998F2F#998F2F
#998F2F is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.115 H 103.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #998F2F |
|---|---|
| RGB | rgb(153, 143, 47) |
| HSL | hsl(54, 53%, 39%) |
| HSV | hsv(54, 69%, 60%) |
| CMYK | cmyk(0%, 6.5%, 69.3%, 40%) |
| CIE-LAB | lab(58.62, -7.95, 50.13) |
| CIE-LCH | lch(58.62, 50.76, 99.02°) |
| OKLab | oklab(64.06% -0.0266 0.1123) |
| OKLCH | oklch(64.06% 0.115 103.3) |
| XYZ | xyz(23.4734, 26.6234, 6.5911) |
| Luminance | 0.2662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.13
Baby Poop Green
#8F9805
ΔE00 6.23
Baby Poo
#AB9004
ΔE00 6.27
Dark Khaki
#9B8F55
ΔE00 6.41
Baby Shit Brown
#AD900D
ΔE00 6.60
Diarrhea
#9F8303
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F2F #2F3999
analogous
#995A2F #998F2F #6E992F
triadic
#998F2F #2F998F #8F2F99
tetradic
#998F2F #2F995A #2F3999 #992F6E
square
#998F2F #2F995A #2F3999 #992F6E
split-complementary
#998F2F #2F6E99 #5A2F99
monochromatic
#3B3712 #6A6321 #998F2F #C5B841 #D3CA6F
Accessibility & contrast
On white
3.32
#998F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#998F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F2F
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F2F | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 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)
#9C8A21
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#A5857C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f2f; /* rgb */ color: rgb(153, 143, 47); /* oklch */ color: oklch(64.1% 0.115 103.3);
Tailwind
colors: {
custom: {
50: '#baaf6d',
500: '#998f2f',
950: '#000000',
},
}SCSS
$custom: #998f2f; $custom-light: #baaf6d; $custom-dark: #000000;
JSON
{
"hex": "#998f2f",
"rgb": {
"r": 153,
"g": 143,
"b": 47
},
"hsl": {
"h": 54.34,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.64059,
"c": 0.11545,
"h": 103.3
},
"luminance": 0.26622
}Semantic roles & 50–950 ramp
primary
#998F2F
secondary
#6971BA
accent
#59DC4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A