#968D31#968D31
#968D31 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.112 H 103.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #968D31 |
|---|---|
| RGB | rgb(150, 141, 49) |
| HSL | hsl(55, 51%, 39%) |
| HSV | hsv(55, 67%, 59%) |
| CMYK | cmyk(0%, 6%, 67.3%, 41.2%) |
| CIE-LAB | lab(57.81, -8.10, 48.36) |
| CIE-LCH | lch(57.81, 49.03, 99.51°) |
| OKLab | oklab(63.35% -0.0266 0.109) |
| OKLCH | oklch(63.35% 0.112 103.7) |
| XYZ | xyz(22.6578, 25.7564, 6.6831) |
| Luminance | 0.2576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.05
Olive
#808000
ΔE00 6.54
Baby Poop Green
#8F9805
ΔE00 6.55
Pea Soup
#929901
ΔE00 6.55
Diarrhea
#9F8303
ΔE00 6.95
Baby Poo
#AB9004
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968D31 #313A96
analogous
#965B31 #968D31 #6D9631
triadic
#968D31 #31968D #8D3196
tetradic
#968D31 #31965B #313A96 #96316D
square
#968D31 #31965B #313A96 #96316D
split-complementary
#968D31 #316D96 #5B3196
monochromatic
#3A3613 #686222 #968D31 #C1B643 #D1C871
Accessibility & contrast
On white
3.41
#968D31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#968D31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968D31
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968D31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968D31 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998825
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#A1837A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #968d31; /* rgb */ color: rgb(150, 141, 49); /* oklch */ color: oklch(63.3% 0.112 103.7);
Tailwind
colors: {
custom: {
50: '#b8ae6e',
500: '#968d31',
950: '#000000',
},
}SCSS
$custom: #968d31; $custom-light: #b8ae6e; $custom-dark: #000000;
JSON
{
"hex": "#968d31",
"rgb": {
"r": 150,
"g": 141,
"b": 49
},
"hsl": {
"h": 54.653,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.63347,
"c": 0.11223,
"h": 103.7
},
"luminance": 0.25756
}Semantic roles & 50–950 ramp
primary
#968D31
secondary
#6A71B8
accent
#5ADA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A