#B2A45E#B2A45E
#B2A45E is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.092 H 98.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A45E |
|---|---|
| RGB | rgb(178, 164, 94) |
| HSL | hsl(50, 35%, 53%) |
| HSV | hsv(50, 47%, 70%) |
| CMYK | cmyk(0%, 7.9%, 47.2%, 30.2%) |
| CIE-LAB | lab(67.15, -4.65, 37.99) |
| CIE-LCH | lch(67.15, 38.27, 96.98°) |
| OKLab | oklab(71.52% -0.0133 0.0913) |
| OKLCH | oklch(71.52% 0.092 98.3) |
| XYZ | xyz(33.6569, 36.8252, 15.9226) |
| Luminance | 0.3682 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.18
Sandy Brown
#C4A661
ΔE00 5.36
Darkkhaki
#BDB76B
ΔE00 5.58
Sand
#C2B280
ΔE00 6.28
Desert
#CCAD60
ΔE00 6.28
Sandstone
#C9AE74
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A45E #5E6CB2
analogous
#B27A5E #B2A45E #96B25E
triadic
#B2A45E #5EB2A4 #A45EB2
tetradic
#B2A45E #5EB27A #5E6CB2 #B25E96
square
#B2A45E #5EB27A #5E6CB2 #B25E96
split-complementary
#B2A45E #5E96B2 #7A5EB2
monochromatic
#655C30 #8F8244 #B2A45E #C6BB87 #DAD3B1
Accessibility & contrast
On white
2.51
#B2A45E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#B2A45E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A45E
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A45E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A45E | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A158
Deuteranopia (green-blind)
#B4A661
Tritanopia (blue-blind)
#BD9B93
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a45e; /* rgb */ color: rgb(178, 164, 94); /* oklch */ color: oklch(71.5% 0.092 98.3);
Tailwind
colors: {
custom: {
50: '#cbbe8d',
500: '#b2a45e',
950: '#000000',
},
}SCSS
$custom: #b2a45e; $custom-light: #cbbe8d; $custom-dark: #000000;
JSON
{
"hex": "#b2a45e",
"rgb": {
"r": 178,
"g": 164,
"b": 94
},
"hsl": {
"h": 50,
"s": 35.294,
"l": 53.333
},
"oklch": {
"l": 0.71518,
"c": 0.09221,
"h": 98.3
},
"luminance": 0.36824
}Semantic roles & 50–950 ramp
primary
#B2A45E
secondary
#A4AAC8
accent
#6FCB5C
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D