#98874F#98874F
#98874F is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.6% C 0.078 H 93.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #98874F |
|---|---|
| RGB | rgb(152, 135, 79) |
| HSL | hsl(46, 32%, 45%) |
| HSV | hsv(46, 48%, 60%) |
| CMYK | cmyk(0%, 11.2%, 48%, 40.4%) |
| CIE-LAB | lab(56.65, -1.47, 32.33) |
| CIE-LCH | lch(56.65, 32.36, 92.60°) |
| OKLab | oklab(62.59% -0.0041 0.0779) |
| OKLCH | oklch(62.59% 0.078 93) |
| XYZ | xyz(23.0249, 24.5688, 10.9250) |
| Luminance | 0.2457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.04
Dark Sand
#A88F59
ΔE00 4.45
Dark Beige
#AC9362
ΔE00 5.95
Drab
#828344
ΔE00 6.98
Coffee
#A6814C
ΔE00 7.20
Dark Tan
#AF884A
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98874F #4F6098
analogous
#98624F #98874F #85984F
triadic
#98874F #4F9887 #874F98
tetradic
#98874F #4F9862 #4F6098 #984F85
square
#98874F #4F9862 #4F6098 #984F85
split-complementary
#98874F #4F8598 #624F98
monochromatic
#473F25 #70633A #98874F #B5A470 #C9BE98
Accessibility & contrast
On white
3.55
#98874F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#98874F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98874F
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98874F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98874F | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92854A
Deuteranopia (green-blind)
#968A51
Tritanopia (blue-blind)
#A27F79
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #98874f; /* rgb */ color: rgb(152, 135, 79); /* oklch */ color: oklch(62.6% 0.078 93.0);
Tailwind
colors: {
custom: {
50: '#b8a981',
500: '#98874f',
950: '#000000',
},
}SCSS
$custom: #98874f; $custom-light: #b8a981; $custom-dark: #000000;
JSON
{
"hex": "#98874f",
"rgb": {
"r": 152,
"g": 135,
"b": 79
},
"hsl": {
"h": 46.027,
"s": 31.602,
"l": 45.294
},
"oklch": {
"l": 0.62586,
"c": 0.07799,
"h": 93
},
"luminance": 0.24568
}Semantic roles & 50–950 ramp
primary
#98874F
secondary
#8D96B6
accent
#78C860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F0A
muted
#817F7C