#B7A13E#B7A13E
#B7A13E is a light, vivid yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.120 H 96.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A13E |
|---|---|
| RGB | rgb(183, 161, 62) |
| HSL | hsl(49, 49%, 48%) |
| HSV | hsv(49, 66%, 72%) |
| CMYK | cmyk(0%, 12%, 66.1%, 28.2%) |
| CIE-LAB | lab(66.45, -3.45, 52.70) |
| CIE-LCH | lch(66.45, 52.81, 93.74°) |
| OKLab | oklab(70.96% -0.0139 0.1193) |
| OKLCH | oklch(70.96% 0.12 96.6) |
| XYZ | xyz(33.1443, 35.9064, 9.7413) |
| Luminance | 0.3590 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.75
Ocher
#BF9B0C
ΔE00 5.27
Dark Gold
#B59410
ΔE00 5.40
Muddy Yellow
#BFAC05
ΔE00 5.94
Yellow Brown
#B79400
ΔE00 5.96
Baby Shit Brown
#AD900D
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A13E #3E54B7
analogous
#B7643E #B7A13E #90B73E
triadic
#B7A13E #3EB7A1 #A13EB7
tetradic
#B7A13E #3EB764 #3E54B7 #B73E90
square
#B7A13E #3EB764 #3E54B7 #B73E90
split-complementary
#B7A13E #3E90B7 #643EB7
monochromatic
#5C511F #89792F #B7A13E #CBB967 #DBCE94
Accessibility & contrast
On white
2.57
#B7A13E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#B7A13E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A13E
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A13E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A13E | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D32
Deuteranopia (green-blind)
#B6A543
Tritanopia (blue-blind)
#C5958C
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b7a13e; /* rgb */ color: rgb(183, 161, 62); /* oklch */ color: oklch(71.0% 0.120 96.6);
Tailwind
colors: {
custom: {
50: '#d0bc78',
500: '#b7a13e',
950: '#000000',
},
}SCSS
$custom: #b7a13e; $custom-light: #d0bc78; $custom-dark: #000000;
JSON
{
"hex": "#b7a13e",
"rgb": {
"r": 183,
"g": 161,
"b": 62
},
"hsl": {
"h": 49.091,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.70962,
"c": 0.12014,
"h": 96.6
},
"luminance": 0.35905
}Semantic roles & 50–950 ramp
primary
#B7A13E
secondary
#8A95C6
accent
#68D94F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B