#978623#978623
#978623 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.116 H 99.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #978623 |
|---|---|
| RGB | rgb(151, 134, 35) |
| HSL | hsl(51, 62%, 36%) |
| HSV | hsv(51, 77%, 59%) |
| CMYK | cmyk(0%, 11.3%, 76.8%, 40.8%) |
| CIE-LAB | lab(55.84, -4.56, 52.06) |
| CIE-LCH | lch(55.84, 52.26, 95.01°) |
| OKLab | oklab(61.78% -0.0182 0.1142) |
| OKLCH | oklch(61.78% 0.116 99) |
| XYZ | xyz(21.5920, 23.7519, 5.0370) |
| Luminance | 0.2375 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.89
Baby Poop
#937C00
ΔE00 4.11
Dark Mustard
#A88905
ΔE00 5.15
Baby Poo
#AB9004
ΔE00 5.76
Baby Shit Brown
#AD900D
ΔE00 6.00
Hazel
#8E7618
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978623 #233497
analogous
#974C23 #978623 #6E9723
triadic
#978623 #239786 #862397
tetradic
#978623 #23974C #233497 #97236E
square
#978623 #23974C #233497 #97236E
split-complementary
#978623 #236E97 #4C2397
monochromatic
#342E0C #655A17 #978623 #C9B22F #D9C75B
Accessibility & contrast
On white
3.65
#978623 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#978623 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978623
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978623 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978623 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948210
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #978623; /* rgb */ color: rgb(151, 134, 35); /* oklch */ color: oklch(61.8% 0.116 99.0);
Tailwind
colors: {
custom: {
50: '#b9a866',
500: '#978623',
950: '#000000',
},
}SCSS
$custom: #978623; $custom-light: #b9a866; $custom-dark: #000000;
JSON
{
"hex": "#978623",
"rgb": {
"r": 151,
"g": 134,
"b": 35
},
"hsl": {
"h": 51.207,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.61776,
"c": 0.11566,
"h": 99
},
"luminance": 0.23751
}Semantic roles & 50–950 ramp
primary
#978623
secondary
#5867BE
accent
#5AE542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A