#978B43#978B43
#978B43 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.094 H 100.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #978B43 |
|---|---|
| RGB | rgb(151, 139, 67) |
| HSL | hsl(51, 39%, 43%) |
| HSV | hsv(51, 56%, 59%) |
| CMYK | cmyk(0%, 7.9%, 55.6%, 40.8%) |
| CIE-LAB | lab(57.51, -5.24, 39.59) |
| CIE-LCH | lch(57.51, 39.94, 97.54°) |
| OKLab | oklab(63.19% -0.0163 0.0928) |
| OKLCH | oklch(63.19% 0.094 100) |
| XYZ | xyz(23.0090, 25.4507, 9.0096) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.19
Drab
#828344
ΔE00 5.96
Dark Sand
#A88F59
ΔE00 6.62
Diarrhea
#9F8303
ΔE00 7.78
Baby Poop
#937C00
ΔE00 8.05
Dark Beige
#AC9362
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B43 #434F97
analogous
#976143 #978B43 #799743
triadic
#978B43 #43978B #8B4397
tetradic
#978B43 #439761 #434F97 #974379
square
#978B43 #439761 #434F97 #974379
split-complementary
#978B43 #437997 #614397
monochromatic
#423D1D #6D6430 #978B43 #B8AB5F #CBC28A
Accessibility & contrast
On white
3.45
#978B43 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#978B43 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B43
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B43 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97873C
Deuteranopia (green-blind)
#9A8C46
Tritanopia (blue-blind)
#A1827B
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978b43; /* rgb */ color: rgb(151, 139, 67); /* oklch */ color: oklch(63.2% 0.094 100.0);
Tailwind
colors: {
custom: {
50: '#b8ac79',
500: '#978b43',
950: '#000000',
},
}SCSS
$custom: #978b43; $custom-light: #b8ac79; $custom-dark: #000000;
JSON
{
"hex": "#978b43",
"rgb": {
"r": 151,
"g": 139,
"b": 67
},
"hsl": {
"h": 51.429,
"s": 38.532,
"l": 42.745
},
"oklch": {
"l": 0.63193,
"c": 0.09424,
"h": 100
},
"luminance": 0.2545
}Semantic roles & 50–950 ramp
primary
#978B43
secondary
#8088B6
accent
#6ACE59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B