#978132#978132
#978132 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.101 H 93.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #978132 |
|---|---|
| RGB | rgb(151, 129, 50) |
| HSL | hsl(47, 50%, 39%) |
| HSV | hsv(47, 67%, 59%) |
| CMYK | cmyk(0%, 14.6%, 66.9%, 40.8%) |
| CIE-LAB | lab(54.57, -0.98, 44.53) |
| CIE-LCH | lch(54.57, 44.54, 91.26°) |
| OKLab | oklab(60.8% -0.0062 0.1011) |
| OKLCH | oklch(60.8% 0.101 93.5) |
| XYZ | xyz(21.1895, 22.5112, 6.2460) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.53
Hazel
#8E7618
ΔE00 4.54
Diarrhea
#9F8303
ΔE00 4.86
Puke Brown
#947706
ΔE00 5.06
Yellowish Brown
#9B7A01
ΔE00 5.21
Poo
#8F7303
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978132 #324897
analogous
#974F32 #978132 #7B9732
triadic
#978132 #329781 #813297
tetradic
#978132 #32974F #324897 #97327B
square
#978132 #32974F #324897 #97327B
split-complementary
#978132 #327B97 #4F3297
monochromatic
#3B3214 #695A23 #978132 #C1A645 #D1BC73
Accessibility & contrast
On white
3.82
#978132 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#978132 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978132
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978132 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978132 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7F29
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#A37770
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #978132; /* rgb */ color: rgb(151, 129, 50); /* oklch */ color: oklch(60.8% 0.101 93.5);
Tailwind
colors: {
custom: {
50: '#b9a56e',
500: '#978132',
950: '#000000',
},
}SCSS
$custom: #978132; $custom-light: #b9a56e; $custom-dark: #000000;
JSON
{
"hex": "#978132",
"rgb": {
"r": 151,
"g": 129,
"b": 50
},
"hsl": {
"h": 46.931,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.60804,
"c": 0.10126,
"h": 93.5
},
"luminance": 0.2251
}Semantic roles & 50–950 ramp
primary
#978132
secondary
#6C7DB9
accent
#6CDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A