#B7A62A#B7A62A
#B7A62A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.137 H 101.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A62A |
|---|---|
| RGB | rgb(183, 166, 42) |
| HSL | hsl(53, 63%, 44%) |
| HSV | hsv(53, 77%, 72%) |
| CMYK | cmyk(0%, 9.3%, 77%, 28.2%) |
| CIE-LAB | lab(67.66, -7.11, 61.67) |
| CIE-LCH | lch(67.66, 62.08, 96.57°) |
| OKLab | oklab(71.88% -0.0264 0.1347) |
| OKLCH | oklch(71.88% 0.137 101.1) |
| XYZ | xyz(33.5842, 37.5085, 7.6609) |
| Luminance | 0.3751 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.07
Brownish Yellow
#C9B003
ΔE00 4.74
Puke
#A5A502
ΔE00 4.92
Brown Yellow
#B29705
ΔE00 5.06
Vomit
#A2A415
ΔE00 5.38
Olive Yellow
#C2B709
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A62A #2A3BB7
analogous
#B7602A #B7A62A #82B72A
triadic
#B7A62A #2AB7A6 #A62AB7
tetradic
#B7A62A #2AB760 #2A3BB7 #B72A82
square
#B7A62A #2AB760 #2A3BB7 #B72A82
split-complementary
#B7A62A #2A82B7 #602AB7
monochromatic
#534C13 #85791F #B7A62A #D5C449 #E1D47B
Accessibility & contrast
On white
2.47
#B7A62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#B7A62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A62A
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A62A | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#C59A8F
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b7a62a; /* rgb */ color: rgb(183, 166, 42); /* oklch */ color: oklch(71.9% 0.137 101.1);
Tailwind
colors: {
custom: {
50: '#d1c06e',
500: '#b7a62a',
950: '#000000',
},
}SCSS
$custom: #b7a62a; $custom-light: #d1c06e; $custom-dark: #000000;
JSON
{
"hex": "#b7a62a",
"rgb": {
"r": 183,
"g": 166,
"b": 42
},
"hsl": {
"h": 52.766,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.71877,
"c": 0.13726,
"h": 101.1
},
"luminance": 0.37507
}Semantic roles & 50–950 ramp
primary
#B7A62A
secondary
#747EC9
accent
#56E642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#151208
muted
#83817B