#B3A152#B3A152
#B3A152 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.102 H 96.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A152 |
|---|---|
| RGB | rgb(179, 161, 82) |
| HSL | hsl(49, 39%, 51%) |
| HSV | hsv(49, 54%, 70%) |
| CMYK | cmyk(0%, 10.1%, 54.2%, 29.8%) |
| CIE-LAB | lab(66.28, -3.72, 43.03) |
| CIE-LCH | lch(66.28, 43.19, 94.95°) |
| OKLab | oklab(70.8% -0.012 0.1013) |
| OKLCH | oklch(70.8% 0.102 96.8) |
| XYZ | xyz(32.8594, 35.6840, 13.1379) |
| Luminance | 0.3568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.89
Sandy Brown
#C4A661
ΔE00 5.03
Desert
#CCAD60
ΔE00 5.87
Darkkhaki
#BDB76B
ΔE00 6.82
Sandstone
#C9AE74
ΔE00 7.08
Dark Khaki
#9B8F55
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A152 #5264B3
analogous
#B37052 #B3A152 #94B352
triadic
#B3A152 #52B3A1 #A152B3
tetradic
#B3A152 #52B370 #5264B3 #B35294
square
#B3A152 #52B370 #5264B3 #B35294
split-complementary
#B3A152 #5294B3 #7052B3
monochromatic
#60562A #8B7C3D #B3A152 #C6B87D #D8CFA7
Accessibility & contrast
On white
2.58
#B3A152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#B3A152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A152
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A152 | 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)
#AF9E4B
Deuteranopia (green-blind)
#B3A455
Tritanopia (blue-blind)
#BF978F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b3a152; /* rgb */ color: rgb(179, 161, 82); /* oklch */ color: oklch(70.8% 0.102 96.8);
Tailwind
colors: {
custom: {
50: '#ccbc85',
500: '#b3a152',
950: '#000000',
},
}SCSS
$custom: #b3a152; $custom-light: #ccbc85; $custom-dark: #000000;
JSON
{
"hex": "#b3a152",
"rgb": {
"r": 179,
"g": 161,
"b": 82
},
"hsl": {
"h": 48.866,
"s": 38.956,
"l": 51.176
},
"oklch": {
"l": 0.70804,
"c": 0.10203,
"h": 96.8
},
"luminance": 0.35683
}Semantic roles & 50–950 ramp
primary
#B3A152
secondary
#9BA3C6
accent
#6FCF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C