#968F2F#968F2F
#968F2F is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.116 H 105.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #968F2F |
|---|---|
| RGB | rgb(150, 143, 47) |
| HSL | hsl(56, 52%, 39%) |
| HSV | hsv(56, 69%, 59%) |
| CMYK | cmyk(0%, 4.7%, 68.7%, 41.2%) |
| CIE-LAB | lab(58.35, -9.30, 49.77) |
| CIE-LCH | lch(58.35, 50.63, 100.58°) |
| OKLab | oklab(63.78% -0.0302 0.1117) |
| OKLCH | oklch(63.78% 0.116 105.1) |
| XYZ | xyz(22.9141, 26.3350, 6.5649) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.65
Baby Poop Green
#8F9805
ΔE00 5.66
Baby Shit Green
#889717
ΔE00 6.24
Dark Khaki
#9B8F55
ΔE00 6.56
Olive
#808000
ΔE00 6.64
Baby Poo
#AB9004
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968F2F #2F3696
analogous
#965B2F #968F2F #69962F
triadic
#968F2F #2F968F #8F2F96
tetradic
#968F2F #2F965B #2F3696 #962F69
square
#968F2F #2F965B #2F3696 #962F69
split-complementary
#968F2F #2F6996 #5B2F96
monochromatic
#393612 #676320 #968F2F #C3BA3F #D2CB6E
Accessibility & contrast
On white
3.35
#968F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#968F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968F2F
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968F2F | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8A21
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#A1857C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #968f2f; /* rgb */ color: rgb(150, 143, 47); /* oklch */ color: oklch(63.8% 0.116 105.1);
Tailwind
colors: {
custom: {
50: '#b8af6d',
500: '#968f2f',
950: '#000000',
},
}SCSS
$custom: #968f2f; $custom-light: #b8af6d; $custom-dark: #000000;
JSON
{
"hex": "#968f2f",
"rgb": {
"r": 150,
"g": 143,
"b": 47
},
"hsl": {
"h": 55.922,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.63779,
"c": 0.11569,
"h": 105.1
},
"luminance": 0.26334
}Semantic roles & 50–950 ramp
primary
#968F2F
secondary
#686DB9
accent
#56DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A