#978425#978425
#978425 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.113 H 97.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #978425 |
|---|---|
| RGB | rgb(151, 132, 37) |
| HSL | hsl(50, 61%, 37%) |
| HSV | hsv(50, 75%, 59%) |
| CMYK | cmyk(0%, 12.6%, 75.5%, 40.8%) |
| CIE-LAB | lab(55.29, -3.37, 50.80) |
| CIE-LCH | lch(55.29, 50.91, 93.79°) |
| OKLab | oklab(61.35% -0.0146 0.1119) |
| OKLCH | oklch(61.35% 0.113 97.4) |
| XYZ | xyz(21.3488, 23.2165, 5.1066) |
| Luminance | 0.2321 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.59
Diarrhea
#9F8303
ΔE00 3.59
Dark Mustard
#A88905
ΔE00 5.11
Hazel
#8E7618
ΔE00 5.21
Puke Brown
#947706
ΔE00 5.37
Yellowish Brown
#9B7A01
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978425 #253897
analogous
#974B25 #978425 #719725
triadic
#978425 #259784 #842597
tetradic
#978425 #25974B #253897 #972571
square
#978425 #25974B #253897 #972571
split-complementary
#978425 #257197 #4B2597
monochromatic
#352E0D #665919 #978425 #C8AF31 #D8C45F
Accessibility & contrast
On white
3.72
#978425 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#978425 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978425
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978425 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978425 | 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)
#928114
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#A37A71
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978425; /* rgb */ color: rgb(151, 132, 37); /* oklch */ color: oklch(61.3% 0.113 97.4);
Tailwind
colors: {
custom: {
50: '#b9a767',
500: '#978425',
950: '#000000',
},
}SCSS
$custom: #978425; $custom-light: #b9a767; $custom-dark: #000000;
JSON
{
"hex": "#978425",
"rgb": {
"r": 151,
"g": 132,
"b": 37
},
"hsl": {
"h": 50,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.61349,
"c": 0.11288,
"h": 97.4
},
"luminance": 0.23215
}Semantic roles & 50–950 ramp
primary
#978425
secondary
#5B6BBD
accent
#5FE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A