#978340#978340
#978340 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.090 H 93.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #978340 |
|---|---|
| RGB | rgb(151, 131, 64) |
| HSL | hsl(46, 40%, 42%) |
| HSV | hsv(46, 58%, 59%) |
| CMYK | cmyk(0%, 13.2%, 57.6%, 40.8%) |
| CIE-LAB | lab(55.26, -1.07, 38.49) |
| CIE-LCH | lch(55.26, 38.50, 91.59°) |
| OKLab | oklab(61.4% -0.0047 0.0901) |
| OKLCH | oklch(61.4% 0.09 93) |
| XYZ | xyz(21.8051, 23.1831, 8.1757) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.96
Dark Sand
#A88F59
ΔE00 5.88
Hazel
#8E7618
ΔE00 6.26
Baby Poop
#937C00
ΔE00 6.69
Diarrhea
#9F8303
ΔE00 6.82
Puke Brown
#947706
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978340 #405497
analogous
#975840 #978340 #809740
triadic
#978340 #409783 #834097
tetradic
#978340 #409758 #405497 #974080
square
#978340 #409758 #405497 #974080
split-complementary
#978340 #408097 #584097
monochromatic
#41381C #6C5E2E #978340 #B9A45B #CCBC86
Accessibility & contrast
On white
3.73
#978340 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#978340 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978340
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978340 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978340 | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F813A
Deuteranopia (green-blind)
#948743
Tritanopia (blue-blind)
#A27A74
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978340; /* rgb */ color: rgb(151, 131, 64); /* oklch */ color: oklch(61.4% 0.090 93.0);
Tailwind
colors: {
custom: {
50: '#b8a677',
500: '#978340',
950: '#000000',
},
}SCSS
$custom: #978340; $custom-light: #b8a677; $custom-dark: #000000;
JSON
{
"hex": "#978340",
"rgb": {
"r": 151,
"g": 131,
"b": 64
},
"hsl": {
"h": 46.207,
"s": 40.465,
"l": 42.157
},
"oklch": {
"l": 0.614,
"c": 0.0902,
"h": 93
},
"luminance": 0.23182
}Semantic roles & 50–950 ramp
primary
#978340
secondary
#7D8AB6
accent
#73D057
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B