#998F45#998F45
#998F45 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.096 H 101.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #998F45 |
|---|---|
| RGB | rgb(153, 143, 69) |
| HSL | hsl(53, 38%, 44%) |
| HSV | hsv(53, 55%, 60%) |
| CMYK | cmyk(0%, 6.5%, 54.9%, 40%) |
| CIE-LAB | lab(58.83, -6.38, 40.18) |
| CIE-LCH | lch(58.83, 40.68, 99.02°) |
| OKLab | oklab(64.29% -0.0195 0.0943) |
| OKLCH | oklch(64.29% 0.096 101.7) |
| XYZ | xyz(24.0343, 26.8478, 9.5452) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.21
Drab
#828344
ΔE00 6.48
Dark Sand
#A88F59
ΔE00 6.96
Khaki (survey)
#AAA662
ΔE00 7.43
Dark Beige
#AC9362
ΔE00 8.24
Baby Poo
#AB9004
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F45 #454F99
analogous
#996545 #998F45 #799945
triadic
#998F45 #45998F #8F4599
tetradic
#998F45 #459965 #454F99 #994579
square
#998F45 #459965 #454F99 #994579
split-complementary
#998F45 #457999 #654599
monochromatic
#45401F #6F6832 #998F45 #B9AE63 #CCC48D
Accessibility & contrast
On white
3.30
#998F45 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#998F45 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F45
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F45 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8B3E
Deuteranopia (green-blind)
#9E8F48
Tritanopia (blue-blind)
#A3867E
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f45; /* rgb */ color: rgb(153, 143, 69); /* oklch */ color: oklch(64.3% 0.096 101.7);
Tailwind
colors: {
custom: {
50: '#b9af7b',
500: '#998f45',
950: '#000000',
},
}SCSS
$custom: #998f45; $custom-light: #b9af7b; $custom-dark: #000000;
JSON
{
"hex": "#998f45",
"rgb": {
"r": 153,
"g": 143,
"b": 69
},
"hsl": {
"h": 52.857,
"s": 37.838,
"l": 43.529
},
"oklch": {
"l": 0.64292,
"c": 0.09626,
"h": 101.7
},
"luminance": 0.26847
}Semantic roles & 50–950 ramp
primary
#998F45
secondary
#8389B7
accent
#68CE5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B