#998C2F#998C2F
#998C2F is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.113 H 101.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #998C2F |
|---|---|
| RGB | rgb(153, 140, 47) |
| HSL | hsl(53, 53%, 39%) |
| HSV | hsv(53, 69%, 60%) |
| CMYK | cmyk(0%, 8.5%, 69.3%, 40%) |
| CIE-LAB | lab(57.78, -6.33, 49.28) |
| CIE-LCH | lch(57.78, 49.68, 97.32°) |
| OKLab | oklab(63.39% -0.022 0.1105) |
| OKLCH | oklch(63.39% 0.113 101.2) |
| XYZ | xyz(23.0290, 25.7347, 6.4430) |
| Luminance | 0.2573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.79
Baby Poo
#AB9004
ΔE00 5.97
Dark Khaki
#9B8F55
ΔE00 6.12
Dark Mustard
#A88905
ΔE00 6.22
Baby Shit Brown
#AD900D
ΔE00 6.23
Baby Poop
#937C00
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998C2F #2F3C99
analogous
#99572F #998C2F #71992F
triadic
#998C2F #2F998C #8C2F99
tetradic
#998C2F #2F9957 #2F3C99 #992F71
square
#998C2F #2F9957 #2F3C99 #992F71
split-complementary
#998C2F #2F7199 #572F99
monochromatic
#3B3612 #6A6121 #998C2F #C5B441 #D3C76F
Accessibility & contrast
On white
3.42
#998C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#998C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998C2F
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998C2F | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#A58279
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #998c2f; /* rgb */ color: rgb(153, 140, 47); /* oklch */ color: oklch(63.4% 0.113 101.2);
Tailwind
colors: {
custom: {
50: '#baad6d',
500: '#998c2f',
950: '#000000',
},
}SCSS
$custom: #998c2f; $custom-light: #baad6d; $custom-dark: #000000;
JSON
{
"hex": "#998c2f",
"rgb": {
"r": 153,
"g": 140,
"b": 47
},
"hsl": {
"h": 52.642,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.63391,
"c": 0.11269,
"h": 101.2
},
"luminance": 0.25734
}Semantic roles & 50–950 ramp
primary
#998C2F
secondary
#6973BA
accent
#5DDC4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A