#968C2F#968C2F
#968C2F is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.113 H 103.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #968C2F |
|---|---|
| RGB | rgb(150, 140, 47) |
| HSL | hsl(54, 52%, 39%) |
| HSV | hsv(54, 69%, 59%) |
| CMYK | cmyk(0%, 6.7%, 68.7%, 41.2%) |
| CIE-LAB | lab(57.51, -7.68, 48.91) |
| CIE-LCH | lch(57.51, 49.51, 98.92°) |
| OKLab | oklab(63.11% -0.0256 0.1099) |
| OKLCH | oklch(63.11% 0.113 103.1) |
| XYZ | xyz(22.4698, 25.4463, 6.4168) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.20
Olive
#808000
ΔE00 6.36
Diarrhea
#9F8303
ΔE00 6.53
Baby Poo
#AB9004
ΔE00 6.75
Pea Soup
#929901
ΔE00 6.78
Baby Poop Green
#8F9805
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968C2F #2F3996
analogous
#96582F #968C2F #6C962F
triadic
#968C2F #2F968C #8C2F96
tetradic
#968C2F #2F9658 #2F3996 #962F6C
square
#968C2F #2F9658 #2F3996 #962F6C
split-complementary
#968C2F #2F6C96 #582F96
monochromatic
#393512 #676120 #968C2F #C3B63F #D2C86E
Accessibility & contrast
On white
3.45
#968C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#968C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968C2F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968C2F | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998722
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#A18279
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #968c2f; /* rgb */ color: rgb(150, 140, 47); /* oklch */ color: oklch(63.1% 0.113 103.1);
Tailwind
colors: {
custom: {
50: '#b8ad6d',
500: '#968c2f',
950: '#000000',
},
}SCSS
$custom: #968c2f; $custom-light: #b8ad6d; $custom-dark: #000000;
JSON
{
"hex": "#968c2f",
"rgb": {
"r": 150,
"g": 140,
"b": 47
},
"hsl": {
"h": 54.175,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.63106,
"c": 0.1128,
"h": 103.1
},
"luminance": 0.25445
}Semantic roles & 50–950 ramp
primary
#968C2F
secondary
#6870B9
accent
#5ADC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A