#B7A533#B7A533
#B7A533 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.131 H 100.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A533 |
|---|---|
| RGB | rgb(183, 165, 51) |
| HSL | hsl(52, 56%, 46%) |
| HSV | hsv(52, 72%, 72%) |
| CMYK | cmyk(0%, 9.8%, 72.1%, 28.2%) |
| CIE-LAB | lab(67.44, -6.18, 58.23) |
| CIE-LCH | lch(67.44, 58.56, 96.06°) |
| OKLab | oklab(71.72% -0.0229 0.1291) |
| OKLCH | oklch(71.72% 0.131 100.1) |
| XYZ | xyz(33.5827, 37.2181, 8.5462) |
| Luminance | 0.3722 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.94
Brown Yellow
#B29705
ΔE00 4.99
Brownish Yellow
#C9B003
ΔE00 5.36
Puke
#A5A502
ΔE00 5.53
Ocher
#BF9B0C
ΔE00 5.81
Vomit
#A2A415
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A533 #3345B7
analogous
#B76333 #B7A533 #87B733
triadic
#B7A533 #33B7A5 #A533B7
tetradic
#B7A533 #33B763 #3345B7 #B73387
square
#B7A533 #33B763 #3345B7 #B73387
split-complementary
#B7A533 #3387B7 #6333B7
monochromatic
#574F18 #877A26 #B7A533 #D0C057 #DED287
Accessibility & contrast
On white
2.49
#B7A533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#B7A533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A533
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A533 | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A021
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#C5998E
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b7a533; /* rgb */ color: rgb(183, 165, 51); /* oklch */ color: oklch(71.7% 0.131 100.1);
Tailwind
colors: {
custom: {
50: '#d0bf72',
500: '#b7a533',
950: '#000000',
},
}SCSS
$custom: #b7a533; $custom-light: #d0bf72; $custom-dark: #000000;
JSON
{
"hex": "#b7a533",
"rgb": {
"r": 183,
"g": 165,
"b": 51
},
"hsl": {
"h": 51.818,
"s": 56.41,
"l": 45.882
},
"oklch": {
"l": 0.71722,
"c": 0.13113,
"h": 100.1
},
"luminance": 0.37217
}Semantic roles & 50–950 ramp
primary
#B7A533
secondary
#7F88C7
accent
#5DE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B