#B6A02A#B6A02A
#B6A02A is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.133 H 98.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B6A02A |
|---|---|
| RGB | rgb(182, 160, 42) |
| HSL | hsl(51, 63%, 44%) |
| HSV | hsv(51, 77%, 71%) |
| CMYK | cmyk(0%, 12.1%, 76.9%, 28.6%) |
| CIE-LAB | lab(65.95, -4.37, 60.06) |
| CIE-LCH | lch(65.95, 60.22, 94.16°) |
| OKLab | oklab(70.5% -0.0186 0.1313) |
| OKLCH | oklch(70.5% 0.133 98.1) |
| XYZ | xyz(32.2818, 35.2555, 7.2947) |
| Luminance | 0.3525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.25
Ocher
#BF9B0C
ΔE00 4.27
Muddy Yellow
#BFAC05
ΔE00 4.51
Dark Gold
#B59410
ΔE00 4.54
Yellow Brown
#B79400
ΔE00 4.98
Baby Poo
#AB9004
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6A02A #2A40B6
analogous
#B65A2A #B6A02A #86B62A
triadic
#B6A02A #2AB6A0 #A02AB6
tetradic
#B6A02A #2AB65A #2A40B6 #B62A86
square
#B6A02A #2AB65A #2A40B6 #B62A86
split-complementary
#B6A02A #2A86B6 #5A2AB6
monochromatic
#534913 #84741F #B6A02A #D5BF48 #E0D07A
Accessibility & contrast
On white
2.61
#B6A02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#B6A02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6A02A
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6A02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6A02A | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#C5938A
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b6a02a; /* rgb */ color: rgb(182, 160, 42); /* oklch */ color: oklch(70.5% 0.133 98.1);
Tailwind
colors: {
custom: {
50: '#d0bb6d',
500: '#b6a02a',
950: '#000000',
},
}SCSS
$custom: #b6a02a; $custom-light: #d0bb6d; $custom-dark: #000000;
JSON
{
"hex": "#b6a02a",
"rgb": {
"r": 182,
"g": 160,
"b": 42
},
"hsl": {
"h": 50.571,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.70499,
"c": 0.13262,
"h": 98.1
},
"luminance": 0.35254
}Semantic roles & 50–950 ramp
primary
#B6A02A
secondary
#7381C8
accent
#5CE642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B