#968E2F#968E2F
#968E2F is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.115 H 104.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #968E2F |
|---|---|
| RGB | rgb(150, 142, 47) |
| HSL | hsl(55, 52%, 39%) |
| HSV | hsv(55, 69%, 59%) |
| CMYK | cmyk(0%, 5.3%, 68.7%, 41.2%) |
| CIE-LAB | lab(58.07, -8.76, 49.48) |
| CIE-LCH | lch(58.07, 50.25, 100.04°) |
| OKLab | oklab(63.55% -0.0287 0.1111) |
| OKLCH | oklch(63.55% 0.115 104.5) |
| XYZ | xyz(22.7647, 26.0361, 6.5151) |
| Luminance | 0.2604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.02
Baby Poop Green
#8F9805
ΔE00 6.02
Dark Khaki
#9B8F55
ΔE00 6.42
Olive
#808000
ΔE00 6.52
Baby Shit Green
#889717
ΔE00 6.61
Baby Poo
#AB9004
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968E2F #2F3796
analogous
#965A2F #968E2F #6A962F
triadic
#968E2F #2F968E #8E2F96
tetradic
#968E2F #2F965A #2F3796 #962F6A
square
#968E2F #2F965A #2F3796 #962F6A
split-complementary
#968E2F #2F6A96 #5A2F96
monochromatic
#393612 #676220 #968E2F #C3B93F #D2CA6E
Accessibility & contrast
On white
3.38
#968E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#968E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968E2F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968E2F | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9D8E35
Tritanopia (blue-blind)
#A1847B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #968e2f; /* rgb */ color: rgb(150, 142, 47); /* oklch */ color: oklch(63.6% 0.115 104.5);
Tailwind
colors: {
custom: {
50: '#b8ae6d',
500: '#968e2f',
950: '#000000',
},
}SCSS
$custom: #968e2f; $custom-light: #b8ae6d; $custom-dark: #000000;
JSON
{
"hex": "#968e2f",
"rgb": {
"r": 150,
"g": 142,
"b": 47
},
"hsl": {
"h": 55.34,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.63554,
"c": 0.11471,
"h": 104.5
},
"luminance": 0.26035
}Semantic roles & 50–950 ramp
primary
#968E2F
secondary
#686EB9
accent
#57DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A