#968C2A#968C2A
#968C2A is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.116 H 103.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #968C2A |
|---|---|
| RGB | rgb(150, 140, 42) |
| HSL | hsl(54, 56%, 38%) |
| HSV | hsv(54, 72%, 59%) |
| CMYK | cmyk(0%, 6.7%, 72%, 41.2%) |
| CIE-LAB | lab(57.47, -7.96, 50.92) |
| CIE-LCH | lch(57.47, 51.54, 98.88°) |
| OKLab | oklab(63.07% -0.027 0.1132) |
| OKLCH | oklch(63.07% 0.116 103.4) |
| XYZ | xyz(22.3746, 25.4083, 5.9158) |
| Luminance | 0.2541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 6.14
Diarrhea
#9F8303
ΔE00 6.29
Pea Soup
#929901
ΔE00 6.44
Baby Poo
#AB9004
ΔE00 6.44
Baby Poop Green
#8F9805
ΔE00 6.48
Baby Poop
#937C00
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968C2A #2A3496
analogous
#96562A #968C2A #6A962A
triadic
#968C2A #2A968C #8C2A96
tetradic
#968C2A #2A9656 #2A3496 #962A6A
square
#968C2A #2A9656 #2A3496 #962A6A
split-complementary
#968C2A #2A6A96 #562A96
monochromatic
#36330F #665F1D #968C2A #C6B937 #D4CA66
Accessibility & contrast
On white
3.45
#968C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#968C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968C2A
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968C2A | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99871A
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#A18279
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #968c2a; /* rgb */ color: rgb(150, 140, 42); /* oklch */ color: oklch(63.1% 0.116 103.4);
Tailwind
colors: {
custom: {
50: '#b8ad6a',
500: '#968c2a',
950: '#000000',
},
}SCSS
$custom: #968c2a; $custom-light: #b8ad6a; $custom-dark: #000000;
JSON
{
"hex": "#968c2a",
"rgb": {
"r": 150,
"g": 140,
"b": 42
},
"hsl": {
"h": 54.444,
"s": 56.25,
"l": 37.647
},
"oklch": {
"l": 0.63065,
"c": 0.11638,
"h": 103.4
},
"luminance": 0.25407
}Semantic roles & 50–950 ramp
primary
#968C2A
secondary
#616ABA
accent
#56E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A