#978326#978326
#978326 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.1% C 0.111 H 96.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #978326 |
|---|---|
| RGB | rgb(151, 131, 38) |
| HSL | hsl(49, 60%, 37%) |
| HSV | hsv(49, 75%, 59%) |
| CMYK | cmyk(0%, 13.2%, 74.8%, 40.8%) |
| CIE-LAB | lab(55.02, -2.77, 50.15) |
| CIE-LCH | lch(55.02, 50.22, 93.16°) |
| OKLab | oklab(61.14% -0.0128 0.1108) |
| OKLCH | oklch(61.14% 0.111 96.6) |
| XYZ | xyz(21.2297, 22.9530, 5.1455) |
| Luminance | 0.2295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.41
Diarrhea
#9F8303
ΔE00 3.54
Hazel
#8E7618
ΔE00 4.83
Puke Brown
#947706
ΔE00 5.00
Yellowish Brown
#9B7A01
ΔE00 5.04
Dark Mustard
#A88905
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978326 #263A97
analogous
#974B26 #978326 #729726
triadic
#978326 #269783 #832697
tetradic
#978326 #26974B #263A97 #972672
square
#978326 #26974B #263A97 #972672
split-complementary
#978326 #267297 #4B2697
monochromatic
#352E0D #66591A #978326 #C8AD32 #D7C260
Accessibility & contrast
On white
3.76
#978326 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#978326 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978326
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978326 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918016
Deuteranopia (green-blind)
#96862C
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978326; /* rgb */ color: rgb(151, 131, 38); /* oklch */ color: oklch(61.1% 0.111 96.6);
Tailwind
colors: {
custom: {
50: '#b9a667',
500: '#978326',
950: '#000000',
},
}SCSS
$custom: #978326; $custom-light: #b9a667; $custom-dark: #000000;
JSON
{
"hex": "#978326",
"rgb": {
"r": 151,
"g": 131,
"b": 38
},
"hsl": {
"h": 49.381,
"s": 59.788,
"l": 37.059
},
"oklch": {
"l": 0.61137,
"c": 0.11148,
"h": 96.6
},
"luminance": 0.22952
}Semantic roles & 50–950 ramp
primary
#978326
secondary
#5C6DBC
accent
#61E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A