#968E2A#968E2A
#968E2A is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.118 H 104.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #968E2A |
|---|---|
| RGB | rgb(150, 142, 42) |
| HSL | hsl(56, 56%, 38%) |
| HSV | hsv(56, 72%, 59%) |
| CMYK | cmyk(0%, 5.3%, 72%, 41.2%) |
| CIE-LAB | lab(58.04, -9.04, 51.48) |
| CIE-LCH | lch(58.04, 52.27, 99.96°) |
| OKLab | oklab(63.51% -0.03 0.1144) |
| OKLCH | oklch(63.51% 0.118 104.7) |
| XYZ | xyz(22.6695, 25.9981, 6.0141) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.66
Baby Poop Green
#8F9805
ΔE00 5.70
Olive
#808000
ΔE00 6.32
Baby Shit Green
#889717
ΔE00 6.43
Baby Poo
#AB9004
ΔE00 6.68
Diarrhea
#9F8303
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968E2A #2A3296
analogous
#96582A #968E2A #68962A
triadic
#968E2A #2A968E #8E2A96
tetradic
#968E2A #2A9658 #2A3296 #962A68
square
#968E2A #2A9658 #2A3296 #962A68
split-complementary
#968E2A #2A6896 #582A96
monochromatic
#36330F #66611D #968E2A #C6BB37 #D4CC66
Accessibility & contrast
On white
3.39
#968E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#968E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968E2A
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968E2A | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A1847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #968e2a; /* rgb */ color: rgb(150, 142, 42); /* oklch */ color: oklch(63.5% 0.118 104.7);
Tailwind
colors: {
custom: {
50: '#b8ae6a',
500: '#968e2a',
950: '#000000',
},
}SCSS
$custom: #968e2a; $custom-light: #b8ae6a; $custom-dark: #000000;
JSON
{
"hex": "#968e2a",
"rgb": {
"r": 150,
"g": 142,
"b": 42
},
"hsl": {
"h": 55.556,
"s": 56.25,
"l": 37.647
},
"oklch": {
"l": 0.63514,
"c": 0.11826,
"h": 104.7
},
"luminance": 0.25997
}Semantic roles & 50–950 ramp
primary
#968E2A
secondary
#6168BA
accent
#53E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A