#B6A52B#B6A52B
#B6A52B is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.136 H 101.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B6A52B |
|---|---|
| RGB | rgb(182, 165, 43) |
| HSL | hsl(53, 62%, 44%) |
| HSV | hsv(53, 76%, 71%) |
| CMYK | cmyk(0%, 9.3%, 76.4%, 28.6%) |
| CIE-LAB | lab(67.30, -6.98, 60.97) |
| CIE-LCH | lch(67.30, 61.37, 96.53°) |
| OKLab | oklab(71.57% -0.0259 0.1334) |
| OKLCH | oklch(71.57% 0.136 101) |
| XYZ | xyz(33.1842, 37.0313, 7.6849) |
| Luminance | 0.3703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.38
Brown Yellow
#B29705
ΔE00 4.87
Puke
#A5A502
ΔE00 4.92
Brownish Yellow
#C9B003
ΔE00 5.04
Vomit
#A2A415
ΔE00 5.34
Olive Yellow
#C2B709
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6A52B #2B3CB6
analogous
#B6602B #B6A52B #82B62B
triadic
#B6A52B #2BB6A5 #A52BB6
tetradic
#B6A52B #2BB660 #2B3CB6 #B62B82
square
#B6A52B #2BB660 #2B3CB6 #B62B82
split-complementary
#B6A52B #2B82B6 #602BB6
monochromatic
#534B14 #84781F #B6A52B #D4C34A #E0D47B
Accessibility & contrast
On white
2.50
#B6A52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#B6A52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6A52B
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6A52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6A52B | 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)
#B5A011
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b6a52b; /* rgb */ color: rgb(182, 165, 43); /* oklch */ color: oklch(71.6% 0.136 101.0);
Tailwind
colors: {
custom: {
50: '#d0bf6e',
500: '#b6a52b',
950: '#000000',
},
}SCSS
$custom: #b6a52b; $custom-light: #d0bf6e; $custom-dark: #000000;
JSON
{
"hex": "#b6a52b",
"rgb": {
"r": 182,
"g": 165,
"b": 43
},
"hsl": {
"h": 52.662,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.71574,
"c": 0.13593,
"h": 101
},
"luminance": 0.3703
}Semantic roles & 50–950 ramp
primary
#B6A52B
secondary
#757FC8
accent
#57E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B