#978423#978423
#978423 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.114 H 97.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #978423 |
|---|---|
| RGB | rgb(151, 132, 35) |
| HSL | hsl(50, 62%, 36%) |
| HSV | hsv(50, 77%, 59%) |
| CMYK | cmyk(0%, 12.6%, 76.8%, 40.8%) |
| CIE-LAB | lab(55.28, -3.46, 51.54) |
| CIE-LCH | lch(55.28, 51.66, 93.84°) |
| OKLab | oklab(61.33% -0.0151 0.1131) |
| OKLCH | oklch(61.33% 0.114 97.6) |
| XYZ | xyz(21.3182, 23.2043, 4.9458) |
| Luminance | 0.2320 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.46
Baby Poop
#937C00
ΔE00 3.47
Dark Mustard
#A88905
ΔE00 5.00
Hazel
#8E7618
ΔE00 5.22
Yellowish Brown
#9B7A01
ΔE00 5.33
Puke Brown
#947706
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978423 #233697
analogous
#974A23 #978423 #709723
triadic
#978423 #239784 #842397
tetradic
#978423 #23974A #233697 #972370
square
#978423 #23974A #233697 #972370
split-complementary
#978423 #237097 #4A2397
monochromatic
#342D0C #655917 #978423 #C9AF2F #D9C45B
Accessibility & contrast
On white
3.72
#978423 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#978423 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978423
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978423 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978423 | 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)
#928110
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#A37A71
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978423; /* rgb */ color: rgb(151, 132, 35); /* oklch */ color: oklch(61.3% 0.114 97.6);
Tailwind
colors: {
custom: {
50: '#b9a766',
500: '#978423',
950: '#000000',
},
}SCSS
$custom: #978423; $custom-light: #b9a766; $custom-dark: #000000;
JSON
{
"hex": "#978423",
"rgb": {
"r": 151,
"g": 132,
"b": 35
},
"hsl": {
"h": 50.172,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.61335,
"c": 0.1141,
"h": 97.6
},
"luminance": 0.23203
}Semantic roles & 50–950 ramp
primary
#978423
secondary
#5869BE
accent
#5DE542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A