#978325#978325
#978325 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.112 H 96.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #978325 |
|---|---|
| RGB | rgb(151, 131, 37) |
| HSL | hsl(49, 61%, 37%) |
| HSV | hsv(49, 75%, 59%) |
| CMYK | cmyk(0%, 13.2%, 75.5%, 40.8%) |
| CIE-LAB | lab(55.02, -2.82, 50.53) |
| CIE-LCH | lch(55.02, 50.61, 93.19°) |
| OKLab | oklab(61.13% -0.013 0.1114) |
| OKLCH | oklch(61.13% 0.112 96.7) |
| XYZ | xyz(21.2138, 22.9466, 5.0617) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.34
Diarrhea
#9F8303
ΔE00 3.46
Hazel
#8E7618
ΔE00 4.83
Puke Brown
#947706
ΔE00 4.97
Yellowish Brown
#9B7A01
ΔE00 5.00
Dark Mustard
#A88905
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978325 #253997
analogous
#974A25 #978325 #729725
triadic
#978325 #259783 #832597
tetradic
#978325 #25974A #253997 #972572
square
#978325 #25974A #253997 #972572
split-complementary
#978325 #257297 #4A2597
monochromatic
#352E0D #665819 #978325 #C8AE31 #D8C25F
Accessibility & contrast
On white
3.76
#978325 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#978325 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978325
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978325 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978325 | 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)
#918015
Deuteranopia (green-blind)
#96862B
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978325; /* rgb */ color: rgb(151, 131, 37); /* oklch */ color: oklch(61.1% 0.112 96.7);
Tailwind
colors: {
custom: {
50: '#b9a667',
500: '#978325',
950: '#000000',
},
}SCSS
$custom: #978325; $custom-light: #b9a667; $custom-dark: #000000;
JSON
{
"hex": "#978325",
"rgb": {
"r": 151,
"g": 131,
"b": 37
},
"hsl": {
"h": 49.474,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.6113,
"c": 0.11212,
"h": 96.7
},
"luminance": 0.22945
}Semantic roles & 50–950 ramp
primary
#978325
secondary
#5B6CBD
accent
#60E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A