#968C2B#968C2B
#968C2B 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 | #968C2B |
|---|---|
| RGB | rgb(150, 140, 43) |
| HSL | hsl(54, 55%, 38%) |
| HSV | hsv(54, 71%, 59%) |
| CMYK | cmyk(0%, 6.7%, 71.3%, 41.2%) |
| CIE-LAB | lab(57.48, -7.90, 50.53) |
| CIE-LCH | lch(57.48, 51.15, 98.89°) |
| OKLab | oklab(63.07% -0.0267 0.1126) |
| OKLCH | oklch(63.07% 0.116 103.4) |
| XYZ | xyz(22.3927, 25.4155, 6.0112) |
| Luminance | 0.2541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 6.18
Diarrhea
#9F8303
ΔE00 6.34
Baby Poo
#AB9004
ΔE00 6.50
Pea Soup
#929901
ΔE00 6.50
Baby Poop Green
#8F9805
ΔE00 6.53
Dark Khaki
#9B8F55
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968C2B #2B3596
analogous
#96572B #968C2B #6A962B
triadic
#968C2B #2B968C #8C2B96
tetradic
#968C2B #2B9657 #2B3596 #962B6A
square
#968C2B #2B9657 #2B3596 #962B6A
split-complementary
#968C2B #2B6A96 #572B96
monochromatic
#373310 #66601D #968C2B #C6B839 #D4CA68
Accessibility & contrast
On white
3.45
#968C2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#968C2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968C2B
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968C2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968C2B | 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)
#99871C
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#A18279
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #968c2b; /* rgb */ color: rgb(150, 140, 43); /* oklch */ color: oklch(63.1% 0.116 103.4);
Tailwind
colors: {
custom: {
50: '#b8ad6b',
500: '#968c2b',
950: '#000000',
},
}SCSS
$custom: #968c2b; $custom-light: #b8ad6b; $custom-dark: #000000;
JSON
{
"hex": "#968c2b",
"rgb": {
"r": 150,
"g": 140,
"b": 43
},
"hsl": {
"h": 54.393,
"s": 55.44,
"l": 37.843
},
"oklch": {
"l": 0.63073,
"c": 0.11569,
"h": 103.4
},
"luminance": 0.25415
}Semantic roles & 50–950 ramp
primary
#968C2B
secondary
#636BBA
accent
#57DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A