#978129#978129
#978129 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.108 H 94.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #978129 |
|---|---|
| RGB | rgb(151, 129, 41) |
| HSL | hsl(48, 57%, 38%) |
| HSV | hsv(48, 73%, 59%) |
| CMYK | cmyk(0%, 14.6%, 72.8%, 40.8%) |
| CIE-LAB | lab(54.49, -1.51, 48.41) |
| CIE-LCH | lch(54.49, 48.44, 91.78°) |
| OKLab | oklab(60.72% -0.0088 0.1077) |
| OKLCH | oklch(60.72% 0.108 94.7) |
| XYZ | xyz(21.0141, 22.4411, 5.3221) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.40
Diarrhea
#9F8303
ΔE00 3.77
Hazel
#8E7618
ΔE00 4.15
Puke Brown
#947706
ΔE00 4.40
Yellowish Brown
#9B7A01
ΔE00 4.50
Dark Mustard
#A88905
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978129 #293F97
analogous
#974A29 #978129 #769729
triadic
#978129 #299781 #812997
tetradic
#978129 #29974A #293F97 #972976
square
#978129 #29974A #293F97 #972976
split-complementary
#978129 #297697 #4A2997
monochromatic
#372F0F #67581C #978129 #C7AA36 #D5BF65
Accessibility & contrast
On white
3.83
#978129 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#978129 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978129
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978129 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978129 | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#A3776F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #978129; /* rgb */ color: rgb(151, 129, 41); /* oklch */ color: oklch(60.7% 0.108 94.7);
Tailwind
colors: {
custom: {
50: '#b9a569',
500: '#978129',
950: '#000000',
},
}SCSS
$custom: #978129; $custom-light: #b9a569; $custom-dark: #000000;
JSON
{
"hex": "#978129",
"rgb": {
"r": 151,
"g": 129,
"b": 41
},
"hsl": {
"h": 48,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.60723,
"c": 0.10803,
"h": 94.7
},
"luminance": 0.2244
}Semantic roles & 50–950 ramp
primary
#978129
secondary
#6173BB
accent
#66E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A