#978751#978751
#978751 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.076 H 93.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #978751 |
|---|---|
| RGB | rgb(151, 135, 81) |
| HSL | hsl(46, 30%, 45%) |
| HSV | hsv(46, 46%, 59%) |
| CMYK | cmyk(0%, 10.6%, 46.4%, 40.8%) |
| CIE-LAB | lab(56.59, -1.69, 31.15) |
| CIE-LCH | lch(56.59, 31.19, 93.11°) |
| OKLab | oklab(62.52% -0.0045 0.0754) |
| OKLCH | oklch(62.52% 0.076 93.4) |
| XYZ | xyz(22.9123, 24.5022, 11.3055) |
| Luminance | 0.2450 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.99
Dark Sand
#A88F59
ΔE00 4.64
Dark Beige
#AC9362
ΔE00 6.03
Drab
#828344
ΔE00 6.79
Brown Grey
#8D8468
ΔE00 7.26
Coffee
#A6814C
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978751 #516197
analogous
#976451 #978751 #849751
triadic
#978751 #519787 #875197
tetradic
#978751 #519764 #516197 #975184
square
#978751 #519764 #516197 #975184
split-complementary
#978751 #518497 #645197
monochromatic
#474026 #6F633C #978751 #B3A472 #C9BE9A
Accessibility & contrast
On white
3.56
#978751 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#978751 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978751
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978751 | 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)
#92854D
Deuteranopia (green-blind)
#968A53
Tritanopia (blue-blind)
#A17F7A
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #978751; /* rgb */ color: rgb(151, 135, 81); /* oklch */ color: oklch(62.5% 0.076 93.4);
Tailwind
colors: {
custom: {
50: '#b7a983',
500: '#978751',
950: '#000000',
},
}SCSS
$custom: #978751; $custom-light: #b7a983; $custom-dark: #000000;
JSON
{
"hex": "#978751",
"rgb": {
"r": 151,
"g": 135,
"b": 81
},
"hsl": {
"h": 46.286,
"s": 30.172,
"l": 45.49
},
"oklch": {
"l": 0.62521,
"c": 0.07552,
"h": 93.4
},
"luminance": 0.24501
}Semantic roles & 50–950 ramp
primary
#978751
secondary
#8E97B6
accent
#78C661
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#110F0A
muted
#807F7C