#978342#978342
#978342 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.088 H 92.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #978342 |
|---|---|
| RGB | rgb(151, 131, 66) |
| HSL | hsl(46, 39%, 43%) |
| HSV | hsv(46, 56%, 59%) |
| CMYK | cmyk(0%, 13.2%, 56.3%, 40.8%) |
| CIE-LAB | lab(55.28, -0.90, 37.49) |
| CIE-LCH | lch(55.28, 37.50, 91.38°) |
| OKLab | oklab(61.43% -0.004 0.0881) |
| OKLCH | oklch(61.43% 0.088 92.6) |
| XYZ | xyz(21.8630, 23.2063, 8.4809) |
| Luminance | 0.2321 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.83
Dark Sand
#A88F59
ΔE00 5.67
Hazel
#8E7618
ΔE00 6.50
Coffee
#A6814C
ΔE00 7.03
Baby Poop
#937C00
ΔE00 7.03
Diarrhea
#9F8303
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978342 #425697
analogous
#975842 #978342 #819742
triadic
#978342 #429783 #834297
tetradic
#978342 #429758 #425697 #974281
square
#978342 #429758 #425697 #974281
split-complementary
#978342 #428197 #584297
monochromatic
#42391D #6C5E2F #978342 #B8A35E #CBBB88
Accessibility & contrast
On white
3.72
#978342 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#978342 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978342
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978342 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 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)
#8F813C
Deuteranopia (green-blind)
#948745
Tritanopia (blue-blind)
#A27A74
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978342; /* rgb */ color: rgb(151, 131, 66); /* oklch */ color: oklch(61.4% 0.088 92.6);
Tailwind
colors: {
custom: {
50: '#b8a678',
500: '#978342',
950: '#000000',
},
}SCSS
$custom: #978342; $custom-light: #b8a678; $custom-dark: #000000;
JSON
{
"hex": "#978342",
"rgb": {
"r": 151,
"g": 131,
"b": 66
},
"hsl": {
"h": 45.882,
"s": 39.171,
"l": 42.549
},
"oklch": {
"l": 0.61426,
"c": 0.08823,
"h": 92.6
},
"luminance": 0.23205
}Semantic roles & 50–950 ramp
primary
#978342
secondary
#7F8CB6
accent
#75CF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B