#B7A554#B7A554
#B7A554 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.104 H 97.1°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A554 |
|---|---|
| RGB | rgb(183, 165, 84) |
| HSL | hsl(49, 41%, 52%) |
| HSV | hsv(49, 54%, 72%) |
| CMYK | cmyk(0%, 9.8%, 54.1%, 28.2%) |
| CIE-LAB | lab(67.74, -3.98, 43.85) |
| CIE-LCH | lch(67.74, 44.03, 95.19°) |
| OKLab | oklab(72.05% -0.0128 0.1032) |
| OKLCH | oklch(72.05% 0.104 97.1) |
| XYZ | xyz(34.5850, 37.6191, 13.8252) |
| Luminance | 0.3762 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.79
Khaki (survey)
#AAA662
ΔE00 4.94
Desert
#CCAD60
ΔE00 5.16
Darkkhaki
#BDB76B
ΔE00 5.90
Sandstone
#C9AE74
ΔE00 6.63
Tan (survey)
#D1B26F
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A554 #5466B7
analogous
#B77454 #B7A554 #98B754
triadic
#B7A554 #54B7A5 #A554B7
tetradic
#B7A554 #54B774 #5466B7 #B75498
square
#B7A554 #54B774 #5466B7 #B75498
split-complementary
#B7A554 #5498B7 #7454B7
monochromatic
#665B2B #91823D #B7A554 #C9BC7F #DBD2AA
Accessibility & contrast
On white
2.46
#B7A554 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#B7A554 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A554
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A554 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A554 | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 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)
#B3A24D
Deuteranopia (green-blind)
#B8A858
Tritanopia (blue-blind)
#C49B92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b7a554; /* rgb */ color: rgb(183, 165, 84); /* oklch */ color: oklch(72.1% 0.104 97.1);
Tailwind
colors: {
custom: {
50: '#cfbf86',
500: '#b7a554',
950: '#000000',
},
}SCSS
$custom: #b7a554; $custom-light: #cfbf86; $custom-dark: #000000;
JSON
{
"hex": "#b7a554",
"rgb": {
"r": 183,
"g": 165,
"b": 84
},
"hsl": {
"h": 49.091,
"s": 40.741,
"l": 52.353
},
"oklch": {
"l": 0.72054,
"c": 0.10403,
"h": 97.1
},
"luminance": 0.37618
}Semantic roles & 50–950 ramp
primary
#B7A554
secondary
#9EA6C9
accent
#6DD157
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C