#B7A32E#B7A32E
#B7A32E is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.133 H 99.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A32E |
|---|---|
| RGB | rgb(183, 163, 46) |
| HSL | hsl(51, 60%, 45%) |
| HSV | hsv(51, 75%, 72%) |
| CMYK | cmyk(0%, 10.9%, 74.9%, 28.2%) |
| CIE-LAB | lab(66.87, -5.35, 59.54) |
| CIE-LCH | lch(66.87, 59.78, 95.14°) |
| OKLab | oklab(71.26% -0.0211 0.131) |
| OKLCH | oklch(71.26% 0.133 99.1) |
| XYZ | xyz(33.1204, 36.4606, 7.8773) |
| Luminance | 0.3646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.96
Brown Yellow
#B29705
ΔE00 4.19
Ocher
#BF9B0C
ΔE00 5.04
Brownish Yellow
#C9B003
ΔE00 5.32
Dark Gold
#B59410
ΔE00 5.52
Puke
#A5A502
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A32E #2E42B7
analogous
#B75F2E #B7A32E #86B72E
triadic
#B7A32E #2EB7A3 #A32EB7
tetradic
#B7A32E #2EB75F #2E42B7 #B72E86
square
#B7A32E #2EB75F #2E42B7 #B72E86
split-complementary
#B7A32E #2E86B7 #5F2EB7
monochromatic
#554C15 #867722 #B7A32E #D3C04F #DFD180
Accessibility & contrast
On white
2.53
#B7A32E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#B7A32E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A32E
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A32E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A32E | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F18
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#C6978C
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b7a32e; /* rgb */ color: rgb(183, 163, 46); /* oklch */ color: oklch(71.3% 0.133 99.1);
Tailwind
colors: {
custom: {
50: '#d0bd6f',
500: '#b7a32e',
950: '#000000',
},
}SCSS
$custom: #b7a32e; $custom-light: #d0bd6f; $custom-dark: #000000;
JSON
{
"hex": "#b7a32e",
"rgb": {
"r": 183,
"g": 163,
"b": 46
},
"hsl": {
"h": 51.241,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.7126,
"c": 0.13263,
"h": 99.1
},
"luminance": 0.36459
}Semantic roles & 50–950 ramp
primary
#B7A32E
secondary
#7984C8
accent
#5CE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B