#978640#978640
#978640 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.093 H 95.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #978640 |
|---|---|
| RGB | rgb(151, 134, 64) |
| HSL | hsl(48, 40%, 42%) |
| HSV | hsv(48, 58%, 59%) |
| CMYK | cmyk(0%, 11.3%, 57.6%, 40.8%) |
| CIE-LAB | lab(56.09, -2.74, 39.45) |
| CIE-LCH | lch(56.09, 39.54, 93.97°) |
| OKLab | oklab(62.05% -0.0095 0.0922) |
| OKLCH | oklch(62.05% 0.093 95.9) |
| XYZ | xyz(22.2139, 24.0007, 8.3120) |
| Luminance | 0.2400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.13
Dark Sand
#A88F59
ΔE00 6.06
Drab
#828344
ΔE00 6.61
Diarrhea
#9F8303
ΔE00 6.78
Baby Poop
#937C00
ΔE00 6.82
Hazel
#8E7618
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978640 #405197
analogous
#975B40 #978640 #7D9740
triadic
#978640 #409786 #864097
tetradic
#978640 #40975B #405197 #97407D
square
#978640 #40975B #405197 #97407D
split-complementary
#978640 #407D97 #5B4097
monochromatic
#413A1C #6C602E #978640 #B9A75B #CCBE86
Accessibility & contrast
On white
3.62
#978640 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#978640 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978640
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978640 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978640 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928339
Deuteranopia (green-blind)
#968943
Tritanopia (blue-blind)
#A27D76
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #978640; /* rgb */ color: rgb(151, 134, 64); /* oklch */ color: oklch(62.1% 0.093 95.9);
Tailwind
colors: {
custom: {
50: '#b8a977',
500: '#978640',
950: '#000000',
},
}SCSS
$custom: #978640; $custom-light: #b8a977; $custom-dark: #000000;
JSON
{
"hex": "#978640",
"rgb": {
"r": 151,
"g": 134,
"b": 64
},
"hsl": {
"h": 48.276,
"s": 40.465,
"l": 42.157
},
"oklch": {
"l": 0.62054,
"c": 0.09265,
"h": 95.9
},
"luminance": 0.24
}Semantic roles & 50–950 ramp
primary
#978640
secondary
#7D88B6
accent
#6FD057
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B