#968A3F#968A3F
#968A3F is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.097 H 100.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #968A3F |
|---|---|
| RGB | rgb(150, 138, 63) |
| HSL | hsl(52, 41%, 42%) |
| HSV | hsv(52, 58%, 59%) |
| CMYK | cmyk(0%, 8%, 58%, 41.2%) |
| CIE-LAB | lab(57.10, -5.47, 41.08) |
| CIE-LCH | lch(57.10, 41.44, 97.58°) |
| OKLab | oklab(62.83% -0.0174 0.0956) |
| OKLCH | oklch(62.83% 0.097 100.3) |
| XYZ | xyz(22.5642, 25.0208, 8.3426) |
| Luminance | 0.2502 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.83
Drab
#828344
ΔE00 5.93
Dark Sand
#A88F59
ΔE00 7.08
Diarrhea
#9F8303
ΔE00 7.34
Baby Poop
#937C00
ΔE00 7.49
Olive
#808000
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968A3F #3F4B96
analogous
#965F3F #968A3F #77963F
triadic
#968A3F #3F968A #8A3F96
tetradic
#968A3F #3F965F #3F4B96 #963F77
square
#968A3F #3F965F #3F4B96 #963F77
split-complementary
#968A3F #3F7796 #5F3F96
monochromatic
#403B1B #6B622D #968A3F #B9AC59 #CBC284
Accessibility & contrast
On white
3.50
#968A3F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#968A3F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968A3F
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968A3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968A3F | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968638
Deuteranopia (green-blind)
#998B43
Tritanopia (blue-blind)
#A18179
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #968a3f; /* rgb */ color: rgb(150, 138, 63); /* oklch */ color: oklch(62.8% 0.097 100.3);
Tailwind
colors: {
custom: {
50: '#b7ab77',
500: '#968a3f',
950: '#000000',
},
}SCSS
$custom: #968a3f; $custom-light: #b7ab77; $custom-dark: #000000;
JSON
{
"hex": "#968a3f",
"rgb": {
"r": 150,
"g": 138,
"b": 63
},
"hsl": {
"h": 51.724,
"s": 40.845,
"l": 41.765
},
"oklch": {
"l": 0.62826,
"c": 0.09715,
"h": 100.3
},
"luminance": 0.2502
}Semantic roles & 50–950 ramp
primary
#968A3F
secondary
#7B83B6
accent
#68D157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B