#968A40#968A40
#968A40 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.096 H 100.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #968A40 |
|---|---|
| RGB | rgb(150, 138, 64) |
| HSL | hsl(52, 40%, 42%) |
| HSV | hsv(52, 57%, 59%) |
| CMYK | cmyk(0%, 8%, 57.3%, 41.2%) |
| CIE-LAB | lab(57.11, -5.39, 40.60) |
| CIE-LCH | lch(57.11, 40.95, 97.56°) |
| OKLab | oklab(62.84% -0.0171 0.0947) |
| OKLCH | oklch(62.84% 0.096 100.2) |
| XYZ | xyz(22.5924, 25.0320, 8.4911) |
| Luminance | 0.2503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.68
Drab
#828344
ΔE00 5.87
Dark Sand
#A88F59
ΔE00 6.97
Diarrhea
#9F8303
ΔE00 7.45
Baby Poop
#937C00
ΔE00 7.60
Olive
#808000
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968A40 #404C96
analogous
#965F40 #968A40 #779640
triadic
#968A40 #40968A #8A4096
tetradic
#968A40 #40965F #404C96 #964077
square
#968A40 #40965F #404C96 #964077
split-complementary
#968A40 #407796 #5F4096
monochromatic
#403B1B #6B632E #968A40 #B9AC5A #CBC185
Accessibility & contrast
On white
3.50
#968A40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#968A40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968A40
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968A40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968A40 | 1.00 | 3.50 | 6.01 | 6.01 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968639
Deuteranopia (green-blind)
#998B44
Tritanopia (blue-blind)
#A18179
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #968a40; /* rgb */ color: rgb(150, 138, 64); /* oklch */ color: oklch(62.8% 0.096 100.2);
Tailwind
colors: {
custom: {
50: '#b7ab77',
500: '#968a40',
950: '#000000',
},
}SCSS
$custom: #968a40; $custom-light: #b7ab77; $custom-dark: #000000;
JSON
{
"hex": "#968a40",
"rgb": {
"r": 150,
"g": 138,
"b": 64
},
"hsl": {
"h": 51.628,
"s": 40.187,
"l": 41.961
},
"oklch": {
"l": 0.62838,
"c": 0.09619,
"h": 100.2
},
"luminance": 0.25031
}Semantic roles & 50–950 ramp
primary
#968A40
secondary
#7C84B6
accent
#69D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B