#978752#978752
#978752 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.074 H 93.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #978752 |
|---|---|
| RGB | rgb(151, 135, 82) |
| HSL | hsl(46, 30%, 46%) |
| HSV | hsv(46, 46%, 59%) |
| CMYK | cmyk(0%, 10.6%, 45.7%, 40.8%) |
| CIE-LAB | lab(56.60, -1.59, 30.63) |
| CIE-LCH | lch(56.60, 30.67, 92.97°) |
| OKLab | oklab(62.54% -0.0041 0.0743) |
| OKLCH | oklch(62.54% 0.074 93.2) |
| XYZ | xyz(22.9501, 24.5173, 11.5044) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.06
Dark Sand
#A88F59
ΔE00 4.60
Dark Beige
#AC9362
ΔE00 5.96
Drab
#828344
ΔE00 6.88
Brown Grey
#8D8468
ΔE00 7.05
Coffee
#A6814C
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978752 #526297
analogous
#976452 #978752 #849752
triadic
#978752 #529787 #875297
tetradic
#978752 #529764 #526297 #975284
square
#978752 #529764 #526297 #975284
split-complementary
#978752 #528497 #645297
monochromatic
#484027 #6F643C #978752 #B3A473 #C9BE9B
Accessibility & contrast
On white
3.56
#978752 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#978752 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978752
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978752 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91854E
Deuteranopia (green-blind)
#968A54
Tritanopia (blue-blind)
#A17F7A
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #978752; /* rgb */ color: rgb(151, 135, 82); /* oklch */ color: oklch(62.5% 0.074 93.2);
Tailwind
colors: {
custom: {
50: '#b7a983',
500: '#978752',
950: '#000000',
},
}SCSS
$custom: #978752; $custom-light: #b7a983; $custom-dark: #000000;
JSON
{
"hex": "#978752",
"rgb": {
"r": 151,
"g": 135,
"b": 82
},
"hsl": {
"h": 46.087,
"s": 29.614,
"l": 45.686
},
"oklch": {
"l": 0.62537,
"c": 0.07437,
"h": 93.2
},
"luminance": 0.24516
}Semantic roles & 50–950 ramp
primary
#978752
secondary
#8F98B6
accent
#79C662
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#110F0B
muted
#807F7C