#978627#978627
#978627 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.113 H 98.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #978627 |
|---|---|
| RGB | rgb(151, 134, 39) |
| HSL | hsl(51, 59%, 37%) |
| HSV | hsv(51, 74%, 59%) |
| CMYK | cmyk(0%, 11.3%, 74.2%, 40.8%) |
| CIE-LAB | lab(55.86, -4.38, 50.57) |
| CIE-LCH | lch(55.86, 50.76, 94.95°) |
| OKLab | oklab(61.81% -0.0172 0.1118) |
| OKLCH | oklch(61.81% 0.113 98.8) |
| XYZ | xyz(21.6549, 23.7771, 5.3679) |
| Luminance | 0.2378 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.12
Baby Poop
#937C00
ΔE00 4.30
Dark Mustard
#A88905
ΔE00 5.34
Hazel
#8E7618
ΔE00 5.99
Baby Poo
#AB9004
ΔE00 5.99
Baby Shit Brown
#AD900D
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978627 #273897
analogous
#974E27 #978627 #709727
triadic
#978627 #279786 #862797
tetradic
#978627 #27974E #273897 #972770
square
#978627 #27974E #273897 #972770
split-complementary
#978627 #277097 #4E2797
monochromatic
#36300E #665B1A #978627 #C8B134 #D6C562
Accessibility & contrast
On white
3.65
#978627 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#978627 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978627
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978627 | 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)
#938217
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #978627; /* rgb */ color: rgb(151, 134, 39); /* oklch */ color: oklch(61.8% 0.113 98.8);
Tailwind
colors: {
custom: {
50: '#b9a868',
500: '#978627',
950: '#000000',
},
}SCSS
$custom: #978627; $custom-light: #b9a868; $custom-dark: #000000;
JSON
{
"hex": "#978627",
"rgb": {
"r": 151,
"g": 134,
"b": 39
},
"hsl": {
"h": 50.893,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.61805,
"c": 0.11316,
"h": 98.8
},
"luminance": 0.23776
}Semantic roles & 50–950 ramp
primary
#978627
secondary
#5E6CBC
accent
#5DE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A