#B2A55A#B2A55A
#B2A55A is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.097 H 99.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A55A |
|---|---|
| RGB | rgb(178, 165, 90) |
| HSL | hsl(51, 36%, 53%) |
| HSV | hsv(51, 49%, 70%) |
| CMYK | cmyk(0%, 7.3%, 49.4%, 30.2%) |
| CIE-LAB | lab(67.36, -5.57, 40.29) |
| CIE-LCH | lch(67.36, 40.68, 97.87°) |
| OKLab | oklab(71.67% -0.0164 0.0961) |
| OKLCH | oklch(71.67% 0.097 99.7) |
| XYZ | xyz(33.6617, 37.1146, 15.0616) |
| Luminance | 0.3711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.12
Darkkhaki
#BDB76B
ΔE00 5.20
Sandy Brown
#C4A661
ΔE00 5.82
Desert
#CCAD60
ΔE00 6.44
Sand
#C2B280
ΔE00 6.88
Sandstone
#C9AE74
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A55A #5A67B2
analogous
#B2795A #B2A55A #93B25A
triadic
#B2A55A #5AB2A5 #A55AB2
tetradic
#B2A55A #5AB279 #5A67B2 #B25A93
square
#B2A55A #5AB279 #5A67B2 #B25A93
split-complementary
#B2A55A #5A93B2 #795AB2
monochromatic
#635B2E #8D8242 #B2A55A #C5BC84 #D9D3AD
Accessibility & contrast
On white
2.49
#B2A55A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#B2A55A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A55A
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A55A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A55A | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A154
Deuteranopia (green-blind)
#B5A65D
Tritanopia (blue-blind)
#BD9C93
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b2a55a; /* rgb */ color: rgb(178, 165, 90); /* oklch */ color: oklch(71.7% 0.097 99.7);
Tailwind
colors: {
custom: {
50: '#cbbf8a',
500: '#b2a55a',
950: '#000000',
},
}SCSS
$custom: #b2a55a; $custom-light: #cbbf8a; $custom-dark: #000000;
JSON
{
"hex": "#b2a55a",
"rgb": {
"r": 178,
"g": 165,
"b": 90
},
"hsl": {
"h": 51.136,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.71673,
"c": 0.09745,
"h": 99.7
},
"luminance": 0.37113
}Semantic roles & 50–950 ramp
primary
#B2A55A
secondary
#A1A6C7
accent
#6CCC5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D