#968D2F#968D2F
#968D2F is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.114 H 103.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #968D2F |
|---|---|
| RGB | rgb(150, 141, 47) |
| HSL | hsl(55, 52%, 39%) |
| HSV | hsv(55, 69%, 59%) |
| CMYK | cmyk(0%, 6%, 68.7%, 41.2%) |
| CIE-LAB | lab(57.79, -8.22, 49.20) |
| CIE-LCH | lch(57.79, 49.88, 99.49°) |
| OKLab | oklab(63.33% -0.0272 0.1105) |
| OKLCH | oklch(63.33% 0.114 103.8) |
| XYZ | xyz(22.6165, 25.7399, 6.4657) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.30
Pea Soup
#929901
ΔE00 6.39
Baby Poop Green
#8F9805
ΔE00 6.40
Olive
#808000
ΔE00 6.43
Diarrhea
#9F8303
ΔE00 6.85
Baby Poo
#AB9004
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968D2F #2F3896
analogous
#96592F #968D2F #6B962F
triadic
#968D2F #2F968D #8D2F96
tetradic
#968D2F #2F9659 #2F3896 #962F6B
square
#968D2F #2F9659 #2F3896 #962F6B
split-complementary
#968D2F #2F6B96 #592F96
monochromatic
#393512 #676120 #968D2F #C3B73F #D2C96E
Accessibility & contrast
On white
3.42
#968D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#968D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968D2F
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968D2F | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#A1837A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #968d2f; /* rgb */ color: rgb(150, 141, 47); /* oklch */ color: oklch(63.3% 0.114 103.8);
Tailwind
colors: {
custom: {
50: '#b8ae6d',
500: '#968d2f',
950: '#000000',
},
}SCSS
$custom: #968d2f; $custom-light: #b8ae6d; $custom-dark: #000000;
JSON
{
"hex": "#968d2f",
"rgb": {
"r": 150,
"g": 141,
"b": 47
},
"hsl": {
"h": 54.757,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.63329,
"c": 0.11375,
"h": 103.8
},
"luminance": 0.25739
}Semantic roles & 50–950 ramp
primary
#968D2F
secondary
#686FB9
accent
#59DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A