#978629#978629
#978629 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.112 H 98.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #978629 |
|---|---|
| RGB | rgb(151, 134, 41) |
| HSL | hsl(51, 57%, 38%) |
| HSV | hsv(51, 73%, 59%) |
| CMYK | cmyk(0%, 11.3%, 72.8%, 40.8%) |
| CIE-LAB | lab(55.88, -4.28, 49.79) |
| CIE-LCH | lch(55.88, 49.97, 94.91°) |
| OKLab | oklab(61.82% -0.0167 0.1106) |
| OKLCH | oklch(61.82% 0.112 98.6) |
| XYZ | xyz(21.6889, 23.7907, 5.5470) |
| Luminance | 0.2379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.25
Baby Poop
#937C00
ΔE00 4.42
Dark Mustard
#A88905
ΔE00 5.46
Hazel
#8E7618
ΔE00 5.98
Baby Poo
#AB9004
ΔE00 6.12
Puke Brown
#947706
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978629 #293A97
analogous
#974F29 #978629 #719729
triadic
#978629 #299786 #862997
tetradic
#978629 #29974F #293A97 #972971
square
#978629 #29974F #293A97 #972971
split-complementary
#978629 #297197 #4F2997
monochromatic
#37310F #675B1C #978629 #C7B136 #D5C465
Accessibility & contrast
On white
3.65
#978629 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#978629 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978629
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978629 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978629 | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #978629; /* rgb */ color: rgb(151, 134, 41); /* oklch */ color: oklch(61.8% 0.112 98.6);
Tailwind
colors: {
custom: {
50: '#b9a869',
500: '#978629',
950: '#000000',
},
}SCSS
$custom: #978629; $custom-light: #b9a869; $custom-dark: #000000;
JSON
{
"hex": "#978629",
"rgb": {
"r": 151,
"g": 134,
"b": 41
},
"hsl": {
"h": 50.727,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.6182,
"c": 0.11183,
"h": 98.6
},
"luminance": 0.2379
}Semantic roles & 50–950 ramp
primary
#978629
secondary
#616FBB
accent
#5FE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A