#B7A246#B7A246
#B7A246 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.3% C 0.114 H 96.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A246 |
|---|---|
| RGB | rgb(183, 162, 70) |
| HSL | hsl(49, 45%, 50%) |
| HSV | hsv(49, 62%, 72%) |
| CMYK | cmyk(0%, 11.5%, 61.7%, 28.2%) |
| CIE-LAB | lab(66.79, -3.46, 49.47) |
| CIE-LCH | lch(66.79, 49.59, 94.00°) |
| OKLab | oklab(71.25% -0.0129 0.1137) |
| OKLCH | oklch(71.25% 0.114 96.5) |
| XYZ | xyz(33.5557, 36.3517, 11.0422) |
| Luminance | 0.3635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 5.50
Desert
#CCAD60
ΔE00 5.69
Brown Yellow
#B29705
ΔE00 5.70
Ocher
#BF9B0C
ΔE00 6.13
Dark Gold
#B59410
ΔE00 6.22
Khaki (survey)
#AAA662
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A246 #465BB7
analogous
#B76A46 #B7A246 #93B746
triadic
#B7A246 #46B7A2 #A246B7
tetradic
#B7A246 #46B76A #465BB7 #B74693
square
#B7A246 #46B76A #465BB7 #B74693
split-complementary
#B7A246 #4693B7 #6A46B7
monochromatic
#5E5424 #8B7B35 #B7A246 #C9B971 #DACF9E
Accessibility & contrast
On white
2.54
#B7A246 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#B7A246 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A246
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A246 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A246 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19F3C
Deuteranopia (green-blind)
#B7A54A
Tritanopia (blue-blind)
#C5978E
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b7a246; /* rgb */ color: rgb(183, 162, 70); /* oklch */ color: oklch(71.3% 0.114 96.5);
Tailwind
colors: {
custom: {
50: '#cfbd7d',
500: '#b7a246',
950: '#000000',
},
}SCSS
$custom: #b7a246; $custom-light: #cfbd7d; $custom-dark: #000000;
JSON
{
"hex": "#b7a246",
"rgb": {
"r": 183,
"g": 162,
"b": 70
},
"hsl": {
"h": 48.85,
"s": 44.664,
"l": 49.608
},
"oklch": {
"l": 0.71254,
"c": 0.1144,
"h": 96.5
},
"luminance": 0.3635
}Semantic roles & 50–950 ramp
primary
#B7A246
secondary
#939CC6
accent
#6BD453
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C