#B4A152#B4A152
#B4A152 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.102 H 96.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A152 |
|---|---|
| RGB | rgb(180, 161, 82) |
| HSL | hsl(48, 40%, 51%) |
| HSV | hsv(48, 54%, 71%) |
| CMYK | cmyk(0%, 10.6%, 54.4%, 29.4%) |
| CIE-LAB | lab(66.37, -3.30, 43.16) |
| CIE-LCH | lch(66.37, 43.29, 94.37°) |
| OKLab | oklab(70.9% -0.0108 0.1016) |
| OKLCH | oklch(70.9% 0.102 96.1) |
| XYZ | xyz(33.0914, 35.8036, 13.1487) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.75
Khaki (survey)
#AAA662
ΔE00 5.15
Desert
#CCAD60
ΔE00 5.61
Sandstone
#C9AE74
ΔE00 6.89
Camel (survey)
#C69F59
ΔE00 6.90
Darkkhaki
#BDB76B
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A152 #5265B4
analogous
#B47052 #B4A152 #96B452
triadic
#B4A152 #52B4A1 #A152B4
tetradic
#B4A152 #52B470 #5265B4 #B45296
square
#B4A152 #52B470 #5265B4 #B45296
split-complementary
#B4A152 #5296B4 #7052B4
monochromatic
#61572A #8C7D3D #B4A152 #C7B87D #D9CFA7
Accessibility & contrast
On white
2.57
#B4A152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#B4A152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A152
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A152 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9E4B
Deuteranopia (green-blind)
#B4A455
Tritanopia (blue-blind)
#C1978F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b4a152; /* rgb */ color: rgb(180, 161, 82); /* oklch */ color: oklch(70.9% 0.102 96.1);
Tailwind
colors: {
custom: {
50: '#cdbc85',
500: '#b4a152',
950: '#000000',
},
}SCSS
$custom: #b4a152; $custom-light: #cdbc85; $custom-dark: #000000;
JSON
{
"hex": "#b4a152",
"rgb": {
"r": 180,
"g": 161,
"b": 82
},
"hsl": {
"h": 48.367,
"s": 39.516,
"l": 51.373
},
"oklch": {
"l": 0.70898,
"c": 0.10215,
"h": 96.1
},
"luminance": 0.35802
}Semantic roles & 50–950 ramp
primary
#B4A152
secondary
#9BA4C7
accent
#6FCF58
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C