#B6A530#B6A530
#B6A530 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.133 H 100.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B6A530 |
|---|---|
| RGB | rgb(182, 165, 48) |
| HSL | hsl(52, 58%, 45%) |
| HSV | hsv(52, 74%, 71%) |
| CMYK | cmyk(0%, 9.3%, 73.6%, 28.6%) |
| CIE-LAB | lab(67.33, -6.76, 59.22) |
| CIE-LCH | lch(67.33, 59.60, 96.51°) |
| OKLab | oklab(71.61% -0.0248 0.1307) |
| OKLCH | oklch(71.61% 0.133 100.7) |
| XYZ | xyz(33.2816, 37.0703, 8.1980) |
| Luminance | 0.3707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.75
Brown Yellow
#B29705
ΔE00 5.01
Puke
#A5A502
ΔE00 5.13
Brownish Yellow
#C9B003
ΔE00 5.32
Vomit
#A2A415
ΔE00 5.45
Ocher
#BF9B0C
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6A530 #3041B6
analogous
#B66230 #B6A530 #84B630
triadic
#B6A530 #30B6A5 #A530B6
tetradic
#B6A530 #30B662 #3041B6 #B63084
square
#B6A530 #30B662 #3041B6 #B63084
split-complementary
#B6A530 #3084B6 #6230B6
monochromatic
#554D16 #867923 #B6A530 #D1C152 #DED282
Accessibility & contrast
On white
2.50
#B6A530 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#B6A530 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6A530
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6A530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6A530 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b6a530; /* rgb */ color: rgb(182, 165, 48); /* oklch */ color: oklch(71.6% 0.133 100.7);
Tailwind
colors: {
custom: {
50: '#d0bf71',
500: '#b6a530',
950: '#000000',
},
}SCSS
$custom: #b6a530; $custom-light: #d0bf71; $custom-dark: #000000;
JSON
{
"hex": "#b6a530",
"rgb": {
"r": 182,
"g": 165,
"b": 48
},
"hsl": {
"h": 52.388,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.71606,
"c": 0.13301,
"h": 100.7
},
"luminance": 0.37069
}Semantic roles & 50–950 ramp
primary
#B6A530
secondary
#7B84C7
accent
#5AE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B