#978628#978628
#978628 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.113 H 98.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #978628 |
|---|---|
| RGB | rgb(151, 134, 40) |
| HSL | hsl(51, 58%, 37%) |
| HSV | hsv(51, 74%, 59%) |
| CMYK | cmyk(0%, 11.3%, 73.5%, 40.8%) |
| CIE-LAB | lab(55.87, -4.33, 50.18) |
| CIE-LCH | lch(55.87, 50.37, 94.93°) |
| OKLab | oklab(61.81% -0.017 0.1112) |
| OKLCH | oklch(61.81% 0.113 98.7) |
| XYZ | xyz(21.6716, 23.7838, 5.4563) |
| Luminance | 0.2378 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.19
Baby Poop
#937C00
ΔE00 4.36
Dark Mustard
#A88905
ΔE00 5.40
Hazel
#8E7618
ΔE00 5.98
Baby Poo
#AB9004
ΔE00 6.05
Puke Brown
#947706
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978628 #283997
analogous
#974F28 #978628 #709728
triadic
#978628 #289786 #862897
tetradic
#978628 #28974F #283997 #972870
square
#978628 #28974F #283997 #972870
split-complementary
#978628 #287097 #4F2897
monochromatic
#36300E #675B1B #978628 #C7B135 #D6C464
Accessibility & contrast
On white
3.65
#978628 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#978628 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978628
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978628 | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938219
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #978628; /* rgb */ color: rgb(151, 134, 40); /* oklch */ color: oklch(61.8% 0.113 98.7);
Tailwind
colors: {
custom: {
50: '#b9a869',
500: '#978628',
950: '#000000',
},
}SCSS
$custom: #978628; $custom-light: #b9a869; $custom-dark: #000000;
JSON
{
"hex": "#978628",
"rgb": {
"r": 151,
"g": 134,
"b": 40
},
"hsl": {
"h": 50.811,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.61812,
"c": 0.1125,
"h": 98.7
},
"luminance": 0.23783
}Semantic roles & 50–950 ramp
primary
#978628
secondary
#5F6DBC
accent
#5EE146
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A