#978D23#978D23
#978D23 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.122 H 103.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #978D23 |
|---|---|
| RGB | rgb(151, 141, 35) |
| HSL | hsl(55, 62%, 36%) |
| HSV | hsv(55, 77%, 59%) |
| CMYK | cmyk(0%, 6.6%, 76.8%, 40.8%) |
| CIE-LAB | lab(57.80, -8.38, 53.90) |
| CIE-LCH | lch(57.80, 54.54, 98.84°) |
| OKLab | oklab(63.33% -0.029 0.1181) |
| OKLCH | oklch(63.33% 0.122 103.8) |
| XYZ | xyz(22.5918, 25.7514, 5.3703) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.87
Baby Poo
#AB9004
ΔE00 5.93
Baby Poop Green
#8F9805
ΔE00 5.98
Diarrhea
#9F8303
ΔE00 6.16
Olive
#808000
ΔE00 6.22
Baby Shit Brown
#AD900D
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D23 #232D97
analogous
#975323 #978D23 #679723
triadic
#978D23 #23978D #8D2397
tetradic
#978D23 #239753 #232D97 #972367
square
#978D23 #239753 #232D97 #972367
split-complementary
#978D23 #236797 #532397
monochromatic
#34300C #655F17 #978D23 #C9BB2F #D9CE5B
Accessibility & contrast
On white
3.41
#978D23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#978D23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D23
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D23 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A880C
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#A38379
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d23; /* rgb */ color: rgb(151, 141, 35); /* oklch */ color: oklch(63.3% 0.122 103.8);
Tailwind
colors: {
custom: {
50: '#b9ae67',
500: '#978d23',
950: '#000000',
},
}SCSS
$custom: #978d23; $custom-light: #b9ae67; $custom-dark: #000000;
JSON
{
"hex": "#978d23",
"rgb": {
"r": 151,
"g": 141,
"b": 35
},
"hsl": {
"h": 54.828,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.63334,
"c": 0.12162,
"h": 103.8
},
"luminance": 0.2575
}Semantic roles & 50–950 ramp
primary
#978D23
secondary
#5861BE
accent
#50E542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A