#978823#978823
#978823 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.117 H 100.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #978823 |
|---|---|
| RGB | rgb(151, 136, 35) |
| HSL | hsl(52, 62%, 36%) |
| HSV | hsv(52, 77%, 59%) |
| CMYK | cmyk(0%, 9.9%, 76.8%, 40.8%) |
| CIE-LAB | lab(56.40, -5.66, 52.59) |
| CIE-LCH | lch(56.40, 52.89, 96.14°) |
| OKLab | oklab(62.22% -0.0213 0.1153) |
| OKLCH | oklch(62.22% 0.117 100.5) |
| XYZ | xyz(21.8711, 24.3100, 5.1301) |
| Luminance | 0.2431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.46
Baby Poop
#937C00
ΔE00 4.82
Dark Mustard
#A88905
ΔE00 5.43
Baby Poo
#AB9004
ΔE00 5.65
Baby Shit Brown
#AD900D
ΔE00 5.96
Olive
#808000
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978823 #233297
analogous
#974E23 #978823 #6C9723
triadic
#978823 #239788 #882397
tetradic
#978823 #23974E #233297 #97236C
square
#978823 #23974E #233297 #97236C
split-complementary
#978823 #236C97 #4E2397
monochromatic
#342F0C #655B17 #978823 #C9B52F #D9C95B
Accessibility & contrast
On white
3.58
#978823 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#978823 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978823
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978823 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978823 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96840F
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#A37E75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #978823; /* rgb */ color: rgb(151, 136, 35); /* oklch */ color: oklch(62.2% 0.117 100.5);
Tailwind
colors: {
custom: {
50: '#b9aa66',
500: '#978823',
950: '#000000',
},
}SCSS
$custom: #978823; $custom-light: #b9aa66; $custom-dark: #000000;
JSON
{
"hex": "#978823",
"rgb": {
"r": 151,
"g": 136,
"b": 35
},
"hsl": {
"h": 52.241,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.62219,
"c": 0.11728,
"h": 100.5
},
"luminance": 0.24309
}Semantic roles & 50–950 ramp
primary
#978823
secondary
#5865BE
accent
#57E542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A