#978630#978630
#978630 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.107 H 98.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #978630 |
|---|---|
| RGB | rgb(151, 134, 48) |
| HSL | hsl(50, 52%, 39%) |
| HSV | hsv(50, 68%, 59%) |
| CMYK | cmyk(0%, 11.3%, 68.2%, 40.8%) |
| CIE-LAB | lab(55.93, -3.88, 46.87) |
| CIE-LCH | lch(55.93, 47.04, 94.74°) |
| OKLab | oklab(61.88% -0.0148 0.1057) |
| OKLCH | oklch(61.88% 0.107 98) |
| XYZ | xyz(21.8221, 23.8439, 6.2486) |
| Luminance | 0.2384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.83
Baby Poop
#937C00
ΔE00 4.94
Dark Mustard
#A88905
ΔE00 5.95
Hazel
#8E7618
ΔE00 6.06
Dark Khaki
#9B8F55
ΔE00 6.07
Puke Brown
#947706
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978630 #304197
analogous
#975330 #978630 #759730
triadic
#978630 #309786 #863097
tetradic
#978630 #309753 #304197 #973075
square
#978630 #309753 #304197 #973075
split-complementary
#978630 #307597 #533097
monochromatic
#3A3412 #695D21 #978630 #C3AD41 #D2C170
Accessibility & contrast
On white
3.64
#978630 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#978630 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978630
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978630 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978630 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#A37C74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #978630; /* rgb */ color: rgb(151, 134, 48); /* oklch */ color: oklch(61.9% 0.107 98.0);
Tailwind
colors: {
custom: {
50: '#b9a86d',
500: '#978630',
950: '#000000',
},
}SCSS
$custom: #978630; $custom-light: #b9a86d; $custom-dark: #000000;
JSON
{
"hex": "#978630",
"rgb": {
"r": 151,
"g": 134,
"b": 48
},
"hsl": {
"h": 50.097,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.61879,
"c": 0.10672,
"h": 98
},
"luminance": 0.23843
}Semantic roles & 50–950 ramp
primary
#978630
secondary
#6A77B9
accent
#64DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A