#949D5B#949D5B
#949D5B is a light, moderate yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.090 H 115.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #949D5B |
|---|---|
| RGB | rgb(148, 157, 91) |
| HSL | hsl(68, 27%, 49%) |
| HSV | hsv(68, 42%, 62%) |
| CMYK | cmyk(5.7%, 0%, 42%, 38.4%) |
| CIE-LAB | lab(62.65, -13.76, 33.39) |
| CIE-LCH | lch(62.65, 36.11, 112.40°) |
| OKLab | oklab(67.32% -0.0382 0.0811) |
| OKLCH | oklch(67.32% 0.09 115.2) |
| XYZ | xyz(26.1583, 31.1655, 14.5330) |
| Luminance | 0.3116 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 2.57
Khaki (survey)
#AAA662
ΔE00 5.30
Camo
#7F8F4E
ΔE00 5.52
Moss
#769958
ΔE00 7.20
Drab Green
#749551
ΔE00 7.30
Dark Khaki
#9B8F55
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#949D5B #645B9D
analogous
#9D855B #949D5B #739D5B
triadic
#949D5B #5B949D #9D5B94
tetradic
#949D5B #5B9D85 #645B9D #9D5B73
square
#949D5B #5B9D85 #645B9D #9D5B73
split-complementary
#949D5B #5B739D #855B9D
monochromatic
#4B502E #6F7645 #949D5B #AEB580 #C7CCA7
Accessibility & contrast
On white
2.90
#949D5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#949D5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #949D5B
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##949D5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##949D5B | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59756
Deuteranopia (green-blind)
#A5985E
Tritanopia (blue-blind)
#9B968D
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #949d5b; /* rgb */ color: rgb(148, 157, 91); /* oklch */ color: oklch(67.3% 0.090 115.2);
Tailwind
colors: {
custom: {
50: '#b4b98a',
500: '#949d5b',
950: '#000000',
},
}SCSS
$custom: #949d5b; $custom-light: #b4b98a; $custom-dark: #000000;
JSON
{
"hex": "#949d5b",
"rgb": {
"r": 148,
"g": 157,
"b": 91
},
"hsl": {
"h": 68.182,
"s": 26.613,
"l": 48.627
},
"oklch": {
"l": 0.67317,
"c": 0.0896,
"h": 115.2
},
"luminance": 0.31165
}Semantic roles & 50–950 ramp
primary
#949D5B
secondary
#9E9ABA
accent
#65C372
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D