#B2A15A#B2A15A
#B2A15A is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.094 H 96.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A15A |
|---|---|
| RGB | rgb(178, 161, 90) |
| HSL | hsl(48, 36%, 53%) |
| HSV | hsv(48, 49%, 70%) |
| CMYK | cmyk(0%, 9.6%, 49.4%, 30.2%) |
| CIE-LAB | lab(66.29, -3.43, 38.98) |
| CIE-LCH | lch(66.29, 39.13, 95.03°) |
| OKLab | oklab(70.82% -0.0102 0.0932) |
| OKLCH | oklch(70.82% 0.094 96.2) |
| XYZ | xyz(32.9514, 35.6942, 14.8248) |
| Luminance | 0.3569 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.23
Sandy Brown
#C4A661
ΔE00 4.79
Desert
#CCAD60
ΔE00 5.99
Sandstone
#C9AE74
ΔE00 6.42
Dark Khaki
#9B8F55
ΔE00 6.54
Darkkhaki
#BDB76B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A15A #5A6BB2
analogous
#B2755A #B2A15A #97B25A
triadic
#B2A15A #5AB2A1 #A15AB2
tetradic
#B2A15A #5AB275 #5A6BB2 #B25A97
square
#B2A15A #5AB275 #5A6BB2 #B25A97
split-complementary
#B2A15A #5A97B2 #755AB2
monochromatic
#63592E #8D7E42 #B2A15A #C5B984 #D9D1AD
Accessibility & contrast
On white
2.58
#B2A15A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#B2A15A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A15A
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A15A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A15A | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9E54
Deuteranopia (green-blind)
#B2A45D
Tritanopia (blue-blind)
#BE9890
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b2a15a; /* rgb */ color: rgb(178, 161, 90); /* oklch */ color: oklch(70.8% 0.094 96.2);
Tailwind
colors: {
custom: {
50: '#cbbc8a',
500: '#b2a15a',
950: '#000000',
},
}SCSS
$custom: #b2a15a; $custom-light: #cbbc8a; $custom-dark: #000000;
JSON
{
"hex": "#b2a15a",
"rgb": {
"r": 178,
"g": 161,
"b": 90
},
"hsl": {
"h": 48.409,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.70821,
"c": 0.09372,
"h": 96.2
},
"luminance": 0.35693
}Semantic roles & 50–950 ramp
primary
#B2A15A
secondary
#A1A8C7
accent
#71CC5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D