#978341#978341
#978341 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.089 H 92.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #978341 |
|---|---|
| RGB | rgb(151, 131, 65) |
| HSL | hsl(46, 40%, 42%) |
| HSV | hsv(46, 57%, 59%) |
| CMYK | cmyk(0%, 13.2%, 57%, 40.8%) |
| CIE-LAB | lab(55.27, -0.99, 37.99) |
| CIE-LCH | lch(55.27, 38.00, 91.49°) |
| OKLab | oklab(61.41% -0.0043 0.0891) |
| OKLCH | oklch(61.41% 0.089 92.8) |
| XYZ | xyz(21.8338, 23.1946, 8.3269) |
| Luminance | 0.2319 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.89
Dark Sand
#A88F59
ΔE00 5.78
Hazel
#8E7618
ΔE00 6.38
Baby Poop
#937C00
ΔE00 6.86
Diarrhea
#9F8303
ΔE00 6.99
Coffee
#A6814C
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978341 #415597
analogous
#975841 #978341 #809741
triadic
#978341 #419783 #834197
tetradic
#978341 #419758 #415597 #974180
square
#978341 #419758 #415597 #974180
split-complementary
#978341 #418097 #584197
monochromatic
#41391C #6C5E2F #978341 #B9A35C #CBBB87
Accessibility & contrast
On white
3.72
#978341 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#978341 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978341
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978341 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978341 | 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)
#8F813B
Deuteranopia (green-blind)
#948744
Tritanopia (blue-blind)
#A27A74
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978341; /* rgb */ color: rgb(151, 131, 65); /* oklch */ color: oklch(61.4% 0.089 92.8);
Tailwind
colors: {
custom: {
50: '#b8a678',
500: '#978341',
950: '#000000',
},
}SCSS
$custom: #978341; $custom-light: #b8a678; $custom-dark: #000000;
JSON
{
"hex": "#978341",
"rgb": {
"r": 151,
"g": 131,
"b": 65
},
"hsl": {
"h": 46.047,
"s": 39.815,
"l": 42.353
},
"oklch": {
"l": 0.61413,
"c": 0.08922,
"h": 92.8
},
"luminance": 0.23194
}Semantic roles & 50–950 ramp
primary
#978341
secondary
#7E8BB6
accent
#74D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B