#978928#978928
#978928 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.115 H 100.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #978928 |
|---|---|
| RGB | rgb(151, 137, 40) |
| HSL | hsl(52, 58%, 37%) |
| HSV | hsv(52, 74%, 59%) |
| CMYK | cmyk(0%, 9.3%, 73.5%, 40.8%) |
| CIE-LAB | lab(56.71, -5.97, 51.00) |
| CIE-LCH | lch(56.71, 51.35, 96.68°) |
| OKLab | oklab(62.48% -0.0216 0.113) |
| OKLCH | oklch(62.48% 0.115 100.9) |
| XYZ | xyz(22.0922, 24.6248, 5.5965) |
| Luminance | 0.2462 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.99
Baby Poop
#937C00
ΔE00 5.37
Dark Mustard
#A88905
ΔE00 5.82
Baby Poo
#AB9004
ΔE00 5.91
Baby Shit Brown
#AD900D
ΔE00 6.20
Olive
#808000
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978928 #283697
analogous
#975128 #978928 #6E9728
triadic
#978928 #289789 #892897
tetradic
#978928 #289751 #283697 #97286E
square
#978928 #289751 #283697 #97286E
split-complementary
#978928 #286E97 #512897
monochromatic
#36310E #675D1B #978928 #C7B535 #D6C764
Accessibility & contrast
On white
3.54
#978928 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#978928 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978928
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978928 | 1.00 | 3.54 | 5.92 | 5.92 |
| #FFFFFF | 3.54 | 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)
#968518
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#A37F76
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #978928; /* rgb */ color: rgb(151, 137, 40); /* oklch */ color: oklch(62.5% 0.115 100.9);
Tailwind
colors: {
custom: {
50: '#b9ab69',
500: '#978928',
950: '#000000',
},
}SCSS
$custom: #978928; $custom-light: #b9ab69; $custom-dark: #000000;
JSON
{
"hex": "#978928",
"rgb": {
"r": 151,
"g": 137,
"b": 40
},
"hsl": {
"h": 52.432,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.62476,
"c": 0.11501,
"h": 100.9
},
"luminance": 0.24624
}Semantic roles & 50–950 ramp
primary
#978928
secondary
#5F6BBC
accent
#5AE146
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A