#968131#968131
#968131 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.102 H 94.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #968131 |
|---|---|
| RGB | rgb(150, 129, 49) |
| HSL | hsl(48, 51%, 39%) |
| HSV | hsv(48, 67%, 59%) |
| CMYK | cmyk(0%, 14%, 67.3%, 41.2%) |
| CIE-LAB | lab(54.46, -1.50, 44.84) |
| CIE-LCH | lch(54.46, 44.87, 91.92°) |
| OKLab | oklab(60.69% -0.0078 0.1016) |
| OKLCH | oklch(60.69% 0.102 94.4) |
| XYZ | xyz(20.9833, 22.4074, 6.1249) |
| Luminance | 0.2241 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.38
Hazel
#8E7618
ΔE00 4.47
Diarrhea
#9F8303
ΔE00 4.86
Puke Brown
#947706
ΔE00 5.07
Yellowish Brown
#9B7A01
ΔE00 5.31
Poo
#8F7303
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968131 #314696
analogous
#964F31 #968131 #799631
triadic
#968131 #319681 #813196
tetradic
#968131 #31964F #314696 #963179
square
#968131 #31964F #314696 #963179
split-complementary
#968131 #317996 #4F3196
monochromatic
#3A3213 #685922 #968131 #C1A743 #D1BD71
Accessibility & contrast
On white
3.83
#968131 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#968131 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968131
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968131 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968131 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7F27
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#A27770
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #968131; /* rgb */ color: rgb(150, 129, 49); /* oklch */ color: oklch(60.7% 0.102 94.4);
Tailwind
colors: {
custom: {
50: '#b8a56d',
500: '#968131',
950: '#000000',
},
}SCSS
$custom: #968131; $custom-light: #b8a56d; $custom-dark: #000000;
JSON
{
"hex": "#968131",
"rgb": {
"r": 150,
"g": 129,
"b": 49
},
"hsl": {
"h": 47.525,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.60692,
"c": 0.1019,
"h": 94.4
},
"luminance": 0.22406
}Semantic roles & 50–950 ramp
primary
#968131
secondary
#6A7BB8
accent
#6BDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A