#B6A532#B6A532
#B6A532 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.132 H 100.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B6A532 |
|---|---|
| RGB | rgb(182, 165, 50) |
| HSL | hsl(52, 57%, 45%) |
| HSV | hsv(52, 73%, 71%) |
| CMYK | cmyk(0%, 9.3%, 72.5%, 28.6%) |
| CIE-LAB | lab(67.34, -6.67, 58.49) |
| CIE-LCH | lch(67.34, 58.86, 96.50°) |
| OKLab | oklab(71.62% -0.0243 0.1295) |
| OKLCH | oklch(71.62% 0.132 100.6) |
| XYZ | xyz(33.3238, 37.0872, 8.4202) |
| Luminance | 0.3709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.92
Brown Yellow
#B29705
ΔE00 5.07
Puke
#A5A502
ΔE00 5.22
Brownish Yellow
#C9B003
ΔE00 5.44
Vomit
#A2A415
ΔE00 5.52
Ocher
#BF9B0C
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6A532 #3243B6
analogous
#B66332 #B6A532 #85B632
triadic
#B6A532 #32B6A5 #A532B6
tetradic
#B6A532 #32B663 #3243B6 #B63285
square
#B6A532 #32B663 #3243B6 #B63285
split-complementary
#B6A532 #3285B6 #6332B6
monochromatic
#564E18 #867925 #B6A532 #D0C055 #DDD285
Accessibility & contrast
On white
2.49
#B6A532 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#B6A532 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6A532
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6A532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6A532 | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A01F
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b6a532; /* rgb */ color: rgb(182, 165, 50); /* oklch */ color: oklch(71.6% 0.132 100.6);
Tailwind
colors: {
custom: {
50: '#d0bf72',
500: '#b6a532',
950: '#000000',
},
}SCSS
$custom: #b6a532; $custom-light: #d0bf72; $custom-dark: #000000;
JSON
{
"hex": "#b6a532",
"rgb": {
"r": 182,
"g": 165,
"b": 50
},
"hsl": {
"h": 52.273,
"s": 56.897,
"l": 45.49
},
"oklch": {
"l": 0.7162,
"c": 0.13177,
"h": 100.6
},
"luminance": 0.37086
}Semantic roles & 50–950 ramp
primary
#B6A532
secondary
#7D86C7
accent
#5BE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B