#998F50#998F50
#998F50 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.085 H 100.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #998F50 |
|---|---|
| RGB | rgb(153, 143, 80) |
| HSL | hsl(52, 31%, 46%) |
| HSV | hsv(52, 48%, 60%) |
| CMYK | cmyk(0%, 6.5%, 47.7%, 40%) |
| CIE-LAB | lab(58.97, -5.34, 34.69) |
| CIE-LCH | lch(58.97, 35.10, 98.76°) |
| OKLab | oklab(64.45% -0.0153 0.0832) |
| OKLCH | oklch(64.45% 0.085 100.4) |
| XYZ | xyz(24.4079, 26.9972, 11.5131) |
| Luminance | 0.2700 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.28
Dark Sand
#A88F59
ΔE00 5.90
Drab
#828344
ΔE00 6.24
Dark Beige
#AC9362
ΔE00 7.01
Khaki (survey)
#AAA662
ΔE00 7.20
Camo
#7F8F4E
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F50 #505A99
analogous
#996A50 #998F50 #7E9950
triadic
#998F50 #50998F #8F5099
tetradic
#998F50 #50996A #505A99 #99507E
square
#998F50 #50996A #505A99 #99507E
split-complementary
#998F50 #507E99 #6A5099
monochromatic
#494426 #71693B #998F50 #B5AC71 #CAC399
Accessibility & contrast
On white
3.28
#998F50 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#998F50 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F50
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F50 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F50 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8C4B
Deuteranopia (green-blind)
#9D9053
Tritanopia (blue-blind)
#A38780
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f50; /* rgb */ color: rgb(153, 143, 80); /* oklch */ color: oklch(64.4% 0.085 100.4);
Tailwind
colors: {
custom: {
50: '#b8af82',
500: '#998f50',
950: '#000000',
},
}SCSS
$custom: #998f50; $custom-light: #b8af82; $custom-dark: #000000;
JSON
{
"hex": "#998f50",
"rgb": {
"r": 153,
"g": 143,
"b": 80
},
"hsl": {
"h": 51.781,
"s": 31.33,
"l": 45.686
},
"oklch": {
"l": 0.64447,
"c": 0.08461,
"h": 100.4
},
"luminance": 0.26996
}Semantic roles & 50–950 ramp
primary
#998F50
secondary
#8E94B7
accent
#6EC860
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C