#998F36#998F36
#998F36 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.110 H 102.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #998F36 |
|---|---|
| RGB | rgb(153, 143, 54) |
| HSL | hsl(54, 48%, 41%) |
| HSV | hsv(54, 65%, 60%) |
| CMYK | cmyk(0%, 6.5%, 64.7%, 40%) |
| CIE-LAB | lab(58.68, -7.52, 47.16) |
| CIE-LCH | lch(58.68, 47.76, 99.06°) |
| OKLab | oklab(64.12% -0.0246 0.1072) |
| OKLCH | oklch(64.12% 0.11 102.9) |
| XYZ | xyz(23.6261, 26.6845, 7.3954) |
| Luminance | 0.2668 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.50
Pea Soup
#929901
ΔE00 6.73
Baby Poop Green
#8F9805
ΔE00 6.78
Baby Poo
#AB9004
ΔE00 6.80
Baby Shit Brown
#AD900D
ΔE00 7.05
Diarrhea
#9F8303
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F36 #364099
analogous
#995D36 #998F36 #719936
triadic
#998F36 #36998F #8F3699
tetradic
#998F36 #36995D #364099 #993671
square
#998F36 #36995D #364099 #993671
split-complementary
#998F36 #367199 #5D3699
monochromatic
#3F3A16 #6C6526 #998F36 #C0B44C #D0C77A
Accessibility & contrast
On white
3.31
#998F36 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#998F36 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F36
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F36 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8A2B
Deuteranopia (green-blind)
#9F8F3B
Tritanopia (blue-blind)
#A4857C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f36; /* rgb */ color: rgb(153, 143, 54); /* oklch */ color: oklch(64.1% 0.110 102.9);
Tailwind
colors: {
custom: {
50: '#baaf71',
500: '#998f36',
950: '#000000',
},
}SCSS
$custom: #998f36; $custom-light: #baaf71; $custom-dark: #000000;
JSON
{
"hex": "#998f36",
"rgb": {
"r": 153,
"g": 143,
"b": 54
},
"hsl": {
"h": 53.939,
"s": 47.826,
"l": 40.588
},
"oklch": {
"l": 0.64122,
"c": 0.11,
"h": 102.9
},
"luminance": 0.26684
}Semantic roles & 50–950 ramp
primary
#998F36
secondary
#7279B9
accent
#5ED750
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B