#948756#948756
#948756 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.069 H 95.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #948756 |
|---|---|
| RGB | rgb(148, 135, 86) |
| HSL | hsl(47, 26%, 46%) |
| HSV | hsv(47, 42%, 58%) |
| CMYK | cmyk(0%, 8.8%, 41.9%, 42%) |
| CIE-LAB | lab(56.38, -2.43, 28.11) |
| CIE-LCH | lch(56.38, 28.21, 94.95°) |
| OKLab | oklab(62.32% -0.006 0.0688) |
| OKLCH | oklch(62.32% 0.069 95) |
| XYZ | xyz(22.5569, 24.2965, 12.3038) |
| Luminance | 0.2430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.30
Dark Sand
#A88F59
ΔE00 5.50
Brown Grey
#8D8468
ΔE00 5.98
Drab
#828344
ΔE00 6.36
Dark Beige
#AC9362
ΔE00 6.58
Coffee
#A6814C
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948756 #566394
analogous
#946856 #948756 #829456
triadic
#948756 #569487 #875694
tetradic
#948756 #569468 #566394 #945682
square
#948756 #569468 #566394 #945682
split-complementary
#948756 #568294 #685694
monochromatic
#474029 #6D6440 #948756 #B0A477 #C7BE9E
Accessibility & contrast
On white
3.58
#948756 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#948756 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948756
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948756 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918552
Deuteranopia (green-blind)
#948958
Tritanopia (blue-blind)
#9D807B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #948756; /* rgb */ color: rgb(148, 135, 86); /* oklch */ color: oklch(62.3% 0.069 95.0);
Tailwind
colors: {
custom: {
50: '#b4a986',
500: '#948756',
950: '#000000',
},
}SCSS
$custom: #948756; $custom-light: #b4a986; $custom-dark: #000000;
JSON
{
"hex": "#948756",
"rgb": {
"r": 148,
"g": 135,
"b": 86
},
"hsl": {
"h": 47.419,
"s": 26.496,
"l": 45.882
},
"oklch": {
"l": 0.62318,
"c": 0.06906,
"h": 95
},
"luminance": 0.24296
}Semantic roles & 50–950 ramp
primary
#948756
secondary
#9299B4
accent
#79C365
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#110F0B
muted
#807F7C