#998F58#998F58
#998F58 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.075 H 99.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #998F58 |
|---|---|
| RGB | rgb(153, 143, 88) |
| HSL | hsl(51, 27%, 47%) |
| HSV | hsv(51, 42%, 60%) |
| CMYK | cmyk(0%, 6.5%, 42.5%, 40%) |
| CIE-LAB | lab(59.09, -4.49, 30.57) |
| CIE-LCH | lch(59.09, 30.90, 98.35°) |
| OKLab | oklab(64.58% -0.0121 0.0745) |
| OKLCH | oklch(64.58% 0.075 99.2) |
| XYZ | xyz(24.7213, 27.1226, 13.1636) |
| Luminance | 0.2712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 0.94
Dark Sand
#A88F59
ΔE00 5.43
Dark Beige
#AC9362
ΔE00 6.29
Drab
#828344
ΔE00 6.59
Khaki (survey)
#AAA662
ΔE00 7.47
Brown Grey
#8D8468
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F58 #586299
analogous
#996E58 #998F58 #839958
triadic
#998F58 #58998F #8F5899
tetradic
#998F58 #58996E #586299 #995883
square
#998F58 #58996E #586299 #995883
split-complementary
#998F58 #588399 #6E5899
monochromatic
#4B462B #726B42 #998F58 #B3AB7B #C9C3A2
Accessibility & contrast
On white
3.27
#998F58 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#998F58 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F58
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F58 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F58 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998C54
Deuteranopia (green-blind)
#9C905A
Tritanopia (blue-blind)
#A28881
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f58; /* rgb */ color: rgb(153, 143, 88); /* oklch */ color: oklch(64.6% 0.075 99.2);
Tailwind
colors: {
custom: {
50: '#b8af88',
500: '#998f58',
950: '#000000',
},
}SCSS
$custom: #998f58; $custom-light: #b8af88; $custom-dark: #000000;
JSON
{
"hex": "#998f58",
"rgb": {
"r": 153,
"g": 143,
"b": 88
},
"hsl": {
"h": 50.769,
"s": 26.971,
"l": 47.255
},
"oklch": {
"l": 0.64576,
"c": 0.07543,
"h": 99.2
},
"luminance": 0.27122
}Semantic roles & 50–950 ramp
primary
#998F58
secondary
#969BB7
accent
#73C364
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100B
muted
#807F7C