#B5A552#B5A552
#B5A552 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.106 H 98.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A552 |
|---|---|
| RGB | rgb(181, 165, 82) |
| HSL | hsl(50, 40%, 52%) |
| HSV | hsv(50, 55%, 71%) |
| CMYK | cmyk(0%, 8.8%, 54.7%, 29%) |
| CIE-LAB | lab(67.53, -5.00, 44.55) |
| CIE-LCH | lch(67.53, 44.83, 96.41°) |
| OKLab | oklab(71.84% -0.0158 0.1046) |
| OKLCH | oklch(71.84% 0.106 98.6) |
| XYZ | xyz(34.0354, 37.3446, 13.3964) |
| Luminance | 0.3734 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.59
Sandy Brown
#C4A661
ΔE00 5.52
Darkkhaki
#BDB76B
ΔE00 5.72
Desert
#CCAD60
ΔE00 5.82
Sandstone
#C9AE74
ΔE00 7.26
Tan (survey)
#D1B26F
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A552 #5262B5
analogous
#B57452 #B5A552 #94B552
triadic
#B5A552 #52B5A5 #A552B5
tetradic
#B5A552 #52B574 #5262B5 #B55294
square
#B5A552 #52B574 #5262B5 #B55294
split-complementary
#B5A552 #5294B5 #7452B5
monochromatic
#62592A #8D803C #B5A552 #C7BB7D #DAD2A8
Accessibility & contrast
On white
2.48
#B5A552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#B5A552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A552
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A552 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A14A
Deuteranopia (green-blind)
#B7A756
Tritanopia (blue-blind)
#C19B92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b5a552; /* rgb */ color: rgb(181, 165, 82); /* oklch */ color: oklch(71.8% 0.106 98.6);
Tailwind
colors: {
custom: {
50: '#cdbf85',
500: '#b5a552',
950: '#000000',
},
}SCSS
$custom: #b5a552; $custom-light: #cdbf85; $custom-dark: #000000;
JSON
{
"hex": "#b5a552",
"rgb": {
"r": 181,
"g": 165,
"b": 82
},
"hsl": {
"h": 50.303,
"s": 40.081,
"l": 51.569
},
"oklch": {
"l": 0.71842,
"c": 0.10578,
"h": 98.6
},
"luminance": 0.37343
}Semantic roles & 50–950 ramp
primary
#B5A552
secondary
#9CA3C7
accent
#6BD058
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C