#968A2F#968A2F
#968A2F is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.7% C 0.111 H 101.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #968A2F |
|---|---|
| RGB | rgb(150, 138, 47) |
| HSL | hsl(53, 52%, 39%) |
| HSV | hsv(53, 69%, 59%) |
| CMYK | cmyk(0%, 8%, 68.7%, 41.2%) |
| CIE-LAB | lab(56.95, -6.59, 48.33) |
| CIE-LCH | lch(56.95, 48.78, 97.77°) |
| OKLab | oklab(62.66% -0.0225 0.1086) |
| OKLCH | oklch(62.66% 0.111 101.7) |
| XYZ | xyz(22.1802, 24.8672, 6.3203) |
| Luminance | 0.2487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.93
Dark Khaki
#9B8F55
ΔE00 6.08
Baby Poop
#937C00
ΔE00 6.18
Olive
#808000
ΔE00 6.33
Baby Poo
#AB9004
ΔE00 6.64
Dark Mustard
#A88905
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968A2F #2F3B96
analogous
#96562F #968A2F #6E962F
triadic
#968A2F #2F968A #8A2F96
tetradic
#968A2F #2F9656 #2F3B96 #962F6E
square
#968A2F #2F9656 #2F3B96 #962F6E
split-complementary
#968A2F #2F6E96 #562F96
monochromatic
#393412 #675F20 #968A2F #C3B43F #D2C66E
Accessibility & contrast
On white
3.52
#968A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#968A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968A2F
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968A2F | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978623
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#A18077
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #968a2f; /* rgb */ color: rgb(150, 138, 47); /* oklch */ color: oklch(62.7% 0.111 101.7);
Tailwind
colors: {
custom: {
50: '#b8ab6d',
500: '#968a2f',
950: '#000000',
},
}SCSS
$custom: #968a2f; $custom-light: #b8ab6d; $custom-dark: #000000;
JSON
{
"hex": "#968a2f",
"rgb": {
"r": 150,
"g": 138,
"b": 47
},
"hsl": {
"h": 53.01,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.62659,
"c": 0.11095,
"h": 101.7
},
"luminance": 0.24866
}Semantic roles & 50–950 ramp
primary
#968A2F
secondary
#6871B9
accent
#5DDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A