#978754#978754
#978754 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.6% C 0.072 H 92.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #978754 |
|---|---|
| RGB | rgb(151, 135, 84) |
| HSL | hsl(46, 29%, 46%) |
| HSV | hsv(46, 44%, 59%) |
| CMYK | cmyk(0%, 10.6%, 44.4%, 40.8%) |
| CIE-LAB | lab(56.63, -1.37, 29.58) |
| CIE-LCH | lch(56.63, 29.61, 92.65°) |
| OKLab | oklab(62.57% -0.0033 0.072) |
| OKLCH | oklch(62.57% 0.072 92.6) |
| XYZ | xyz(23.0273, 24.5482, 11.9111) |
| Luminance | 0.2455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.26
Dark Sand
#A88F59
ΔE00 4.56
Dark Beige
#AC9362
ΔE00 5.82
Brown Grey
#8D8468
ΔE00 6.64
Drab
#828344
ΔE00 7.10
Coffee
#A6814C
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978754 #546497
analogous
#976554 #978754 #859754
triadic
#978754 #549787 #875497
tetradic
#978754 #549765 #546497 #975485
square
#978754 #549765 #546497 #975485
split-complementary
#978754 #548597 #655497
monochromatic
#484128 #70643E #978754 #B3A476 #C8BE9D
Accessibility & contrast
On white
3.55
#978754 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#978754 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978754
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978754 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978754 | 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)
#918550
Deuteranopia (green-blind)
#958A56
Tritanopia (blue-blind)
#A1807A
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #978754; /* rgb */ color: rgb(151, 135, 84); /* oklch */ color: oklch(62.6% 0.072 92.6);
Tailwind
colors: {
custom: {
50: '#b7a985',
500: '#978754',
950: '#000000',
},
}SCSS
$custom: #978754; $custom-light: #b7a985; $custom-dark: #000000;
JSON
{
"hex": "#978754",
"rgb": {
"r": 151,
"g": 135,
"b": 84
},
"hsl": {
"h": 45.672,
"s": 28.511,
"l": 46.078
},
"oklch": {
"l": 0.62571,
"c": 0.07208,
"h": 92.6
},
"luminance": 0.24547
}Semantic roles & 50–950 ramp
primary
#978754
secondary
#919AB6
accent
#7AC563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#110F0B
muted
#807F7C