#998E2F#998E2F
#998E2F is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.115 H 102.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #998E2F |
|---|---|
| RGB | rgb(153, 142, 47) |
| HSL | hsl(54, 53%, 39%) |
| HSV | hsv(54, 69%, 60%) |
| CMYK | cmyk(0%, 7.2%, 69.3%, 40%) |
| CIE-LAB | lab(58.34, -7.41, 49.85) |
| CIE-LCH | lch(58.34, 50.40, 98.46°) |
| OKLab | oklab(63.84% -0.0251 0.1117) |
| OKLCH | oklch(63.84% 0.115 102.6) |
| XYZ | xyz(23.3239, 26.3245, 6.5413) |
| Luminance | 0.2632 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 6.14
Dark Khaki
#9B8F55
ΔE00 6.29
Diarrhea
#9F8303
ΔE00 6.44
Baby Shit Brown
#AD900D
ΔE00 6.45
Pea Soup
#929901
ΔE00 6.51
Baby Poop Green
#8F9805
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E2F #2F3A99
analogous
#99592F #998E2F #6F992F
triadic
#998E2F #2F998E #8E2F99
tetradic
#998E2F #2F9959 #2F3A99 #992F6F
square
#998E2F #2F9959 #2F3A99 #992F6F
split-complementary
#998E2F #2F6F99 #592F99
monochromatic
#3B3712 #6A6321 #998E2F #C5B741 #D3C96F
Accessibility & contrast
On white
3.35
#998E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#998E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E2F
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E2F | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8922
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#A5847B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998e2f; /* rgb */ color: rgb(153, 142, 47); /* oklch */ color: oklch(63.8% 0.115 102.6);
Tailwind
colors: {
custom: {
50: '#baae6d',
500: '#998e2f',
950: '#000000',
},
}SCSS
$custom: #998e2f; $custom-light: #baae6d; $custom-dark: #000000;
JSON
{
"hex": "#998e2f",
"rgb": {
"r": 153,
"g": 142,
"b": 47
},
"hsl": {
"h": 53.774,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.63836,
"c": 0.11452,
"h": 102.6
},
"luminance": 0.26324
}Semantic roles & 50–950 ramp
primary
#998E2F
secondary
#6972BA
accent
#5ADC4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A