#978850#978850
#978850 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.078 H 94.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #978850 |
|---|---|
| RGB | rgb(151, 136, 80) |
| HSL | hsl(47, 31%, 45%) |
| HSV | hsv(47, 47%, 59%) |
| CMYK | cmyk(0%, 9.9%, 47%, 40.8%) |
| CIE-LAB | lab(56.85, -2.35, 32.01) |
| CIE-LCH | lch(56.85, 32.10, 94.21°) |
| OKLab | oklab(62.72% -0.0065 0.0773) |
| OKLCH | oklch(62.72% 0.078 94.8) |
| XYZ | xyz(23.0153, 24.7677, 11.1562) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.48
Dark Sand
#A88F59
ΔE00 4.79
Dark Beige
#AC9362
ΔE00 6.20
Drab
#828344
ΔE00 6.44
Brown Grey
#8D8468
ΔE00 7.64
Coffee
#A6814C
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978850 #505F97
analogous
#976450 #978850 #829750
triadic
#978850 #509788 #885097
tetradic
#978850 #509764 #505F97 #975082
square
#978850 #509764 #505F97 #975082
split-complementary
#978850 #508297 #645097
monochromatic
#474026 #6F643B #978850 #B4A571 #C9BF99
Accessibility & contrast
On white
3.53
#978850 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#978850 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978850
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978850 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978850 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93864C
Deuteranopia (green-blind)
#978A52
Tritanopia (blue-blind)
#A1807A
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #978850; /* rgb */ color: rgb(151, 136, 80); /* oklch */ color: oklch(62.7% 0.078 94.8);
Tailwind
colors: {
custom: {
50: '#b7aa82',
500: '#978850',
950: '#000000',
},
}SCSS
$custom: #978850; $custom-light: #b7aa82; $custom-dark: #000000;
JSON
{
"hex": "#978850",
"rgb": {
"r": 151,
"g": 136,
"b": 80
},
"hsl": {
"h": 47.324,
"s": 30.736,
"l": 45.294
},
"oklch": {
"l": 0.62722,
"c": 0.07754,
"h": 94.8
},
"luminance": 0.24767
}Semantic roles & 50–950 ramp
primary
#978850
secondary
#8D96B6
accent
#76C761
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100A
muted
#807F7C