#998D2F#998D2F
#998D2F is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.114 H 102.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #998D2F |
|---|---|
| RGB | rgb(153, 141, 47) |
| HSL | hsl(53, 53%, 39%) |
| HSV | hsv(53, 69%, 60%) |
| CMYK | cmyk(0%, 7.8%, 69.3%, 40%) |
| CIE-LAB | lab(58.06, -6.87, 49.56) |
| CIE-LCH | lch(58.06, 50.04, 97.89°) |
| OKLab | oklab(63.61% -0.0235 0.1111) |
| OKLCH | oklch(63.61% 0.114 102) |
| XYZ | xyz(23.1758, 26.0283, 6.4920) |
| Luminance | 0.2603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 6.04
Diarrhea
#9F8303
ΔE00 6.11
Dark Khaki
#9B8F55
ΔE00 6.19
Baby Shit Brown
#AD900D
ΔE00 6.33
Dark Mustard
#A88905
ΔE00 6.46
Baby Poop
#937C00
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998D2F #2F3B99
analogous
#99582F #998D2F #70992F
triadic
#998D2F #2F998D #8D2F99
tetradic
#998D2F #2F9958 #2F3B99 #992F70
square
#998D2F #2F9958 #2F3B99 #992F70
split-complementary
#998D2F #2F7099 #582F99
monochromatic
#3B3712 #6A6221 #998D2F #C5B641 #D3C86F
Accessibility & contrast
On white
3.38
#998D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#998D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998D2F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998D2F | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998d2f; /* rgb */ color: rgb(153, 141, 47); /* oklch */ color: oklch(63.6% 0.114 102.0);
Tailwind
colors: {
custom: {
50: '#baae6d',
500: '#998d2f',
950: '#000000',
},
}SCSS
$custom: #998d2f; $custom-light: #baae6d; $custom-dark: #000000;
JSON
{
"hex": "#998d2f",
"rgb": {
"r": 153,
"g": 141,
"b": 47
},
"hsl": {
"h": 53.208,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.63613,
"c": 0.1136,
"h": 102
},
"luminance": 0.26027
}Semantic roles & 50–950 ramp
primary
#998D2F
secondary
#6973BA
accent
#5CDC4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A