#978330#978330
#978330 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.104 H 95.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #978330 |
|---|---|
| RGB | rgb(151, 131, 48) |
| HSL | hsl(48, 52%, 39%) |
| HSV | hsv(48, 68%, 59%) |
| CMYK | cmyk(0%, 13.2%, 68.2%, 40.8%) |
| CIE-LAB | lab(55.10, -2.22, 46.01) |
| CIE-LCH | lch(55.10, 46.06, 92.77°) |
| OKLab | oklab(61.22% -0.01 0.1039) |
| OKLCH | oklch(61.22% 0.104 95.5) |
| XYZ | xyz(21.4133, 23.0264, 6.1124) |
| Luminance | 0.2303 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.39
Diarrhea
#9F8303
ΔE00 4.54
Hazel
#8E7618
ΔE00 5.01
Puke Brown
#947706
ΔE00 5.47
Yellowish Brown
#9B7A01
ΔE00 5.57
Dark Mustard
#A88905
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978330 #304497
analogous
#975030 #978330 #789730
triadic
#978330 #309783 #833097
tetradic
#978330 #309750 #304497 #973078
square
#978330 #309750 #304497 #973078
split-complementary
#978330 #307897 #503097
monochromatic
#3A3212 #695B21 #978330 #C3AA41 #D2BF70
Accessibility & contrast
On white
3.75
#978330 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#978330 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978330
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978330 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978330 | 1.00 | 3.75 | 5.61 | 5.61 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#958734
Tritanopia (blue-blind)
#A37972
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978330; /* rgb */ color: rgb(151, 131, 48); /* oklch */ color: oklch(61.2% 0.104 95.5);
Tailwind
colors: {
custom: {
50: '#b9a66d',
500: '#978330',
950: '#000000',
},
}SCSS
$custom: #978330; $custom-light: #b9a66d; $custom-dark: #000000;
JSON
{
"hex": "#978330",
"rgb": {
"r": 151,
"g": 131,
"b": 48
},
"hsl": {
"h": 48.35,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.61221,
"c": 0.10434,
"h": 95.5
},
"luminance": 0.23025
}Semantic roles & 50–950 ramp
primary
#978330
secondary
#6A79B9
accent
#68DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A