#B6A52E#B6A52E
#B6A52E is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.134 H 100.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B6A52E |
|---|---|
| RGB | rgb(182, 165, 46) |
| HSL | hsl(53, 60%, 45%) |
| HSV | hsv(53, 75%, 71%) |
| CMYK | cmyk(0%, 9.3%, 74.7%, 28.6%) |
| CIE-LAB | lab(67.32, -6.85, 59.93) |
| CIE-LCH | lch(67.32, 60.33, 96.52°) |
| OKLab | oklab(71.59% -0.0253 0.1318) |
| OKLCH | oklch(71.59% 0.134 100.8) |
| XYZ | xyz(33.2412, 37.0542, 7.9855) |
| Luminance | 0.3705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.60
Brown Yellow
#B29705
ΔE00 4.95
Puke
#A5A502
ΔE00 5.04
Brownish Yellow
#C9B003
ΔE00 5.20
Vomit
#A2A415
ΔE00 5.40
Ocher
#BF9B0C
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6A52E #2E3FB6
analogous
#B6612E #B6A52E #83B62E
triadic
#B6A52E #2EB6A5 #A52EB6
tetradic
#B6A52E #2EB661 #2E3FB6 #B62E83
square
#B6A52E #2EB661 #2E3FB6 #B62E83
split-complementary
#B6A52E #2E83B6 #612EB6
monochromatic
#544C15 #857922 #B6A52E #D2C24F #DFD380
Accessibility & contrast
On white
2.50
#B6A52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#B6A52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6A52E
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6A52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6A52E | 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)
#B5A017
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b6a52e; /* rgb */ color: rgb(182, 165, 46); /* oklch */ color: oklch(71.6% 0.134 100.8);
Tailwind
colors: {
custom: {
50: '#d0bf70',
500: '#b6a52e',
950: '#000000',
},
}SCSS
$custom: #b6a52e; $custom-light: #d0bf70; $custom-dark: #000000;
JSON
{
"hex": "#b6a52e",
"rgb": {
"r": 182,
"g": 165,
"b": 46
},
"hsl": {
"h": 52.5,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.71593,
"c": 0.13422,
"h": 100.8
},
"luminance": 0.37053
}Semantic roles & 50–950 ramp
primary
#B6A52E
secondary
#7882C8
accent
#59E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B