#978923#978923
#978923 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.118 H 101.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #978923 |
|---|---|
| RGB | rgb(151, 137, 35) |
| HSL | hsl(53, 62%, 36%) |
| HSV | hsv(53, 77%, 59%) |
| CMYK | cmyk(0%, 9.3%, 76.8%, 40.8%) |
| CIE-LAB | lab(56.68, -6.21, 52.85) |
| CIE-LCH | lch(56.68, 53.21, 96.70°) |
| OKLab | oklab(62.44% -0.0228 0.1159) |
| OKLCH | oklch(62.44% 0.118 101.1) |
| XYZ | xyz(22.0126, 24.5930, 5.1772) |
| Luminance | 0.2459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.78
Baby Poop
#937C00
ΔE00 5.20
Dark Mustard
#A88905
ΔE00 5.61
Baby Poo
#AB9004
ΔE00 5.64
Baby Shit Brown
#AD900D
ΔE00 5.98
Olive
#808000
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978923 #233197
analogous
#974F23 #978923 #6B9723
triadic
#978923 #239789 #892397
tetradic
#978923 #23974F #233197 #97236B
square
#978923 #23974F #233197 #97236B
split-complementary
#978923 #236B97 #4F2397
monochromatic
#342F0C #655C17 #978923 #C9B62F #D9CA5B
Accessibility & contrast
On white
3.55
#978923 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#978923 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978923
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978923 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978923 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96850E
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#A37F76
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #978923; /* rgb */ color: rgb(151, 137, 35); /* oklch */ color: oklch(62.4% 0.118 101.1);
Tailwind
colors: {
custom: {
50: '#b9ab66',
500: '#978923',
950: '#000000',
},
}SCSS
$custom: #978923; $custom-light: #b9ab66; $custom-dark: #000000;
JSON
{
"hex": "#978923",
"rgb": {
"r": 151,
"g": 137,
"b": 35
},
"hsl": {
"h": 52.759,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.62441,
"c": 0.11812,
"h": 101.1
},
"luminance": 0.24592
}Semantic roles & 50–950 ramp
primary
#978923
secondary
#5864BE
accent
#56E542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A