#978641#978641
#978641 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.092 H 95.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #978641 |
|---|---|
| RGB | rgb(151, 134, 65) |
| HSL | hsl(48, 40%, 42%) |
| HSV | hsv(48, 57%, 59%) |
| CMYK | cmyk(0%, 11.3%, 57%, 40.8%) |
| CIE-LAB | lab(56.10, -2.66, 38.96) |
| CIE-LCH | lch(56.10, 39.05, 93.90°) |
| OKLab | oklab(62.07% -0.0091 0.0912) |
| OKLCH | oklch(62.07% 0.092 95.7) |
| XYZ | xyz(22.2426, 24.0121, 8.4632) |
| Luminance | 0.2401 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.02
Dark Sand
#A88F59
ΔE00 5.95
Drab
#828344
ΔE00 6.58
Diarrhea
#9F8303
ΔE00 6.93
Baby Poop
#937C00
ΔE00 6.97
Hazel
#8E7618
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978641 #415297
analogous
#975B41 #978641 #7D9741
triadic
#978641 #419786 #864197
tetradic
#978641 #41975B #415297 #97417D
square
#978641 #41975B #415297 #97417D
split-complementary
#978641 #417D97 #5B4197
monochromatic
#413A1C #6C602F #978641 #B9A75C #CBBE87
Accessibility & contrast
On white
3.62
#978641 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#978641 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978641
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978641 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978641 | 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)
#92833A
Deuteranopia (green-blind)
#968944
Tritanopia (blue-blind)
#A27D76
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #978641; /* rgb */ color: rgb(151, 134, 65); /* oklch */ color: oklch(62.1% 0.092 95.7);
Tailwind
colors: {
custom: {
50: '#b8a978',
500: '#978641',
950: '#000000',
},
}SCSS
$custom: #978641; $custom-light: #b8a978; $custom-dark: #000000;
JSON
{
"hex": "#978641",
"rgb": {
"r": 151,
"g": 134,
"b": 65
},
"hsl": {
"h": 48.14,
"s": 39.815,
"l": 42.353
},
"oklch": {
"l": 0.62067,
"c": 0.09167,
"h": 95.7
},
"luminance": 0.24011
}Semantic roles & 50–950 ramp
primary
#978641
secondary
#7E89B6
accent
#70D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B