#B7A552#B7A552
#B7A552 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.106 H 97.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A552 |
|---|---|
| RGB | rgb(183, 165, 82) |
| HSL | hsl(49, 41%, 52%) |
| HSV | hsv(49, 55%, 72%) |
| CMYK | cmyk(0%, 9.8%, 55.2%, 28.2%) |
| CIE-LAB | lab(67.72, -4.15, 44.81) |
| CIE-LCH | lch(67.72, 45.00, 95.29°) |
| OKLab | oklab(72.03% -0.0135 0.1051) |
| OKLCH | oklch(72.03% 0.106 97.3) |
| XYZ | xyz(34.5078, 37.5882, 13.4186) |
| Luminance | 0.3759 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.99
Khaki (survey)
#AAA662
ΔE00 5.09
Desert
#CCAD60
ΔE00 5.26
Darkkhaki
#BDB76B
ΔE00 5.98
Sandstone
#C9AE74
ΔE00 6.88
Tan (survey)
#D1B26F
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A552 #5264B7
analogous
#B77352 #B7A552 #97B752
triadic
#B7A552 #52B7A5 #A552B7
tetradic
#B7A552 #52B773 #5264B7 #B75297
square
#B7A552 #52B773 #5264B7 #B75297
split-complementary
#B7A552 #5297B7 #7352B7
monochromatic
#655A2A #90813C #B7A552 #C9BB7D #DBD2A8
Accessibility & contrast
On white
2.47
#B7A552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#B7A552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A552
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A552 | 1.00 | 2.47 | 8.52 | 8.52 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A14A
Deuteranopia (green-blind)
#B8A856
Tritanopia (blue-blind)
#C49B92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b7a552; /* rgb */ color: rgb(183, 165, 82); /* oklch */ color: oklch(72.0% 0.106 97.3);
Tailwind
colors: {
custom: {
50: '#cfbf85',
500: '#b7a552',
950: '#000000',
},
}SCSS
$custom: #b7a552; $custom-light: #cfbf85; $custom-dark: #000000;
JSON
{
"hex": "#b7a552",
"rgb": {
"r": 183,
"g": 165,
"b": 82
},
"hsl": {
"h": 49.307,
"s": 41.224,
"l": 51.961
},
"oklch": {
"l": 0.72029,
"c": 0.10597,
"h": 97.3
},
"luminance": 0.37587
}Semantic roles & 50–950 ramp
primary
#B7A552
secondary
#9CA4C9
accent
#6DD157
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C