#B8A552#B8A552
#B8A552 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.106 H 96.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A552 |
|---|---|
| RGB | rgb(184, 165, 82) |
| HSL | hsl(49, 42%, 52%) |
| HSV | hsv(49, 55%, 72%) |
| CMYK | cmyk(0%, 10.3%, 55.4%, 27.8%) |
| CIE-LAB | lab(67.81, -3.72, 44.94) |
| CIE-LCH | lch(67.81, 45.09, 94.74°) |
| OKLab | oklab(72.12% -0.0123 0.1054) |
| OKLCH | oklch(72.12% 0.106 96.7) |
| XYZ | xyz(34.7466, 37.7113, 13.4298) |
| Luminance | 0.3771 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.72
Desert
#CCAD60
ΔE00 4.99
Khaki (survey)
#AAA662
ΔE00 5.35
Darkkhaki
#BDB76B
ΔE00 6.12
Sandstone
#C9AE74
ΔE00 6.70
Tan (survey)
#D1B26F
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A552 #5265B8
analogous
#B87252 #B8A552 #98B852
triadic
#B8A552 #52B8A5 #A552B8
tetradic
#B8A552 #52B872 #5265B8 #B85298
square
#B8A552 #52B872 #5265B8 #B85298
split-complementary
#B8A552 #5298B8 #7252B8
monochromatic
#665B2A #91813C #B8A552 #CABC7D #DCD2A9
Accessibility & contrast
On white
2.46
#B8A552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#B8A552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A552
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A552 | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A24A
Deuteranopia (green-blind)
#B8A856
Tritanopia (blue-blind)
#C59A92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b8a552; /* rgb */ color: rgb(184, 165, 82); /* oklch */ color: oklch(72.1% 0.106 96.7);
Tailwind
colors: {
custom: {
50: '#d0bf85',
500: '#b8a552',
950: '#000000',
},
}SCSS
$custom: #b8a552; $custom-light: #d0bf85; $custom-dark: #000000;
JSON
{
"hex": "#b8a552",
"rgb": {
"r": 184,
"g": 165,
"b": 82
},
"hsl": {
"h": 48.824,
"s": 41.803,
"l": 52.157
},
"oklch": {
"l": 0.72123,
"c": 0.10609,
"h": 96.7
},
"luminance": 0.3771
}Semantic roles & 50–950 ramp
primary
#B8A552
secondary
#9DA5C9
accent
#6DD256
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C