#B7A53E#B7A53E
#B7A53E is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.123 H 99.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A53E |
|---|---|
| RGB | rgb(183, 165, 62) |
| HSL | hsl(51, 49%, 48%) |
| HSV | hsv(51, 66%, 72%) |
| CMYK | cmyk(0%, 9.8%, 66.1%, 28.2%) |
| CIE-LAB | lab(67.52, -5.58, 53.83) |
| CIE-LCH | lch(67.52, 54.12, 95.92°) |
| OKLab | oklab(71.81% -0.0199 0.1217) |
| OKLCH | oklch(71.81% 0.123 99.3) |
| XYZ | xyz(33.8545, 37.3269, 9.9781) |
| Luminance | 0.3733 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 5.04
Brown Yellow
#B29705
ΔE00 5.57
Ocher
#BF9B0C
ΔE00 6.25
Brownish Yellow
#C9B003
ΔE00 6.26
Puke
#A5A502
ΔE00 6.27
Vomit
#A2A415
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A53E #3E50B7
analogous
#B7683E #B7A53E #8DB73E
triadic
#B7A53E #3EB7A5 #A53EB7
tetradic
#B7A53E #3EB768 #3E50B7 #B73E8D
square
#B7A53E #3EB768 #3E50B7 #B73E8D
split-complementary
#B7A53E #3E8DB7 #683EB7
monochromatic
#5C531F #897C2F #B7A53E #CBBC67 #DBD094
Accessibility & contrast
On white
2.48
#B7A53E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#B7A53E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A53E
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A53E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A53E | 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)
#B4A131
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#C59990
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b7a53e; /* rgb */ color: rgb(183, 165, 62); /* oklch */ color: oklch(71.8% 0.123 99.3);
Tailwind
colors: {
custom: {
50: '#d0bf78',
500: '#b7a53e',
950: '#000000',
},
}SCSS
$custom: #b7a53e; $custom-light: #d0bf78; $custom-dark: #000000;
JSON
{
"hex": "#b7a53e",
"rgb": {
"r": 183,
"g": 165,
"b": 62
},
"hsl": {
"h": 51.074,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.71812,
"c": 0.12335,
"h": 99.3
},
"luminance": 0.37325
}Semantic roles & 50–950 ramp
primary
#B7A53E
secondary
#8A93C6
accent
#63D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B