#968240#968240
#968240 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.089 H 92.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #968240 |
|---|---|
| RGB | rgb(150, 130, 64) |
| HSL | hsl(46, 40%, 42%) |
| HSV | hsv(46, 57%, 59%) |
| CMYK | cmyk(0%, 13.3%, 57.3%, 41.2%) |
| CIE-LAB | lab(54.89, -0.96, 38.03) |
| CIE-LCH | lch(54.89, 38.04, 91.44°) |
| OKLab | oklab(61.08% -0.0043 0.0891) |
| OKLCH | oklch(61.08% 0.089 92.8) |
| XYZ | xyz(21.4866, 22.8205, 8.1225) |
| Luminance | 0.2282 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.18
Dark Sand
#A88F59
ΔE00 6.08
Hazel
#8E7618
ΔE00 6.10
Baby Poop
#937C00
ΔE00 6.72
Puke Brown
#947706
ΔE00 6.97
Diarrhea
#9F8303
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968240 #405496
analogous
#965740 #968240 #7F9640
triadic
#968240 #409682 #824096
tetradic
#968240 #409657 #405496 #96407F
square
#968240 #409657 #405496 #96407F
split-complementary
#968240 #407F96 #574096
monochromatic
#40381B #6B5D2E #968240 #B9A35A #CBBB85
Accessibility & contrast
On white
3.77
#968240 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#968240 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968240
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968240 | 1.00 | 3.77 | 5.56 | 5.56 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E803A
Deuteranopia (green-blind)
#938643
Tritanopia (blue-blind)
#A17973
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #968240; /* rgb */ color: rgb(150, 130, 64); /* oklch */ color: oklch(61.1% 0.089 92.8);
Tailwind
colors: {
custom: {
50: '#b7a677',
500: '#968240',
950: '#000000',
},
}SCSS
$custom: #968240; $custom-light: #b7a677; $custom-dark: #000000;
JSON
{
"hex": "#968240",
"rgb": {
"r": 150,
"g": 130,
"b": 64
},
"hsl": {
"h": 46.047,
"s": 40.187,
"l": 41.961
},
"oklch": {
"l": 0.61082,
"c": 0.0892,
"h": 92.8
},
"luminance": 0.22819
}Semantic roles & 50–950 ramp
primary
#968240
secondary
#7C8AB6
accent
#74D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B