#978529#978529
#978529 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.111 H 97.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #978529 |
|---|---|
| RGB | rgb(151, 133, 41) |
| HSL | hsl(50, 57%, 38%) |
| HSV | hsv(50, 73%, 59%) |
| CMYK | cmyk(0%, 11.9%, 72.8%, 40.8%) |
| CIE-LAB | lab(55.60, -3.72, 49.51) |
| CIE-LCH | lch(55.60, 49.65, 94.30°) |
| OKLab | oklab(61.6% -0.0151 0.11) |
| OKLCH | oklch(61.6% 0.111 97.8) |
| XYZ | xyz(21.5513, 23.5155, 5.5012) |
| Luminance | 0.2351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.06
Baby Poop
#937C00
ΔE00 4.13
Dark Mustard
#A88905
ΔE00 5.39
Hazel
#8E7618
ΔE00 5.59
Puke Brown
#947706
ΔE00 5.87
Yellowish Brown
#9B7A01
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978529 #293B97
analogous
#974E29 #978529 #729729
triadic
#978529 #299785 #852997
tetradic
#978529 #29974E #293B97 #972972
square
#978529 #29974E #293B97 #972972
split-complementary
#978529 #297297 #4E2997
monochromatic
#37300F #675B1C #978529 #C7AF36 #D5C365
Accessibility & contrast
On white
3.68
#978529 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#978529 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978529
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978529 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978529 | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92821B
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#A37B73
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #978529; /* rgb */ color: rgb(151, 133, 41); /* oklch */ color: oklch(61.6% 0.111 97.8);
Tailwind
colors: {
custom: {
50: '#b9a869',
500: '#978529',
950: '#000000',
},
}SCSS
$custom: #978529; $custom-light: #b9a869; $custom-dark: #000000;
JSON
{
"hex": "#978529",
"rgb": {
"r": 151,
"g": 133,
"b": 41
},
"hsl": {
"h": 50.182,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.61599,
"c": 0.11103,
"h": 97.8
},
"luminance": 0.23514
}Semantic roles & 50–950 ramp
primary
#978529
secondary
#616FBB
accent
#60E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A