#B7A146#B7A146
#B7A146 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.114 H 95.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A146 |
|---|---|
| RGB | rgb(183, 161, 70) |
| HSL | hsl(48, 45%, 50%) |
| HSV | hsv(48, 62%, 72%) |
| CMYK | cmyk(0%, 12%, 61.7%, 28.2%) |
| CIE-LAB | lab(66.52, -2.93, 49.17) |
| CIE-LCH | lch(66.52, 49.26, 93.41°) |
| OKLab | oklab(71.04% -0.0114 0.113) |
| OKLCH | oklch(71.04% 0.114 95.8) |
| XYZ | xyz(33.3802, 36.0008, 10.9838) |
| Luminance | 0.3600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 5.30
Brown Yellow
#B29705
ΔE00 5.59
Desert
#CCAD60
ΔE00 5.61
Ocher
#BF9B0C
ΔE00 5.96
Dark Gold
#B59410
ΔE00 5.98
Baby Shit Brown
#AD900D
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A146 #465CB7
analogous
#B76946 #B7A146 #94B746
triadic
#B7A146 #46B7A1 #A146B7
tetradic
#B7A146 #46B769 #465CB7 #B74694
square
#B7A146 #46B769 #465CB7 #B74694
split-complementary
#B7A146 #4694B7 #6946B7
monochromatic
#5E5324 #8B7A35 #B7A146 #C9B871 #DACE9E
Accessibility & contrast
On white
2.56
#B7A146 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#B7A146 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A146
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A146 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A146 | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09E3C
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#C5968D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b7a146; /* rgb */ color: rgb(183, 161, 70); /* oklch */ color: oklch(71.0% 0.114 95.8);
Tailwind
colors: {
custom: {
50: '#cfbc7d',
500: '#b7a146',
950: '#000000',
},
}SCSS
$custom: #b7a146; $custom-light: #cfbc7d; $custom-dark: #000000;
JSON
{
"hex": "#b7a146",
"rgb": {
"r": 183,
"g": 161,
"b": 70
},
"hsl": {
"h": 48.319,
"s": 44.664,
"l": 49.608
},
"oklch": {
"l": 0.71042,
"c": 0.11361,
"h": 95.8
},
"luminance": 0.35999
}Semantic roles & 50–950 ramp
primary
#B7A146
secondary
#939DC6
accent
#6DD453
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C