#B6AB2E#B6AB2E
#B6AB2E is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.139 H 104.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B6AB2E |
|---|---|
| RGB | rgb(182, 171, 46) |
| HSL | hsl(55, 60%, 45%) |
| HSV | hsv(55, 75%, 71%) |
| CMYK | cmyk(0%, 6%, 74.7%, 28.6%) |
| CIE-LAB | lab(68.95, -10.00, 61.47) |
| CIE-LCH | lch(68.95, 62.28, 99.24°) |
| OKLab | oklab(72.89% -0.0341 0.1351) |
| OKLCH | oklch(72.89% 0.139 104.2) |
| XYZ | xyz(34.3490, 39.2696, 8.3547) |
| Luminance | 0.3927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.38
Puke
#A5A502
ΔE00 4.02
Olive Yellow
#C2B709
ΔE00 4.41
Vomit
#A2A415
ΔE00 4.44
Brownish Yellow
#C9B003
ΔE00 5.15
Puke Yellow
#C2BE0E
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6AB2E #2E39B6
analogous
#B6672E #B6AB2E #7DB62E
triadic
#B6AB2E #2EB6AB #AB2EB6
tetradic
#B6AB2E #2EB667 #2E39B6 #B62E7D
square
#B6AB2E #2EB667 #2E39B6 #B62E7D
split-complementary
#B6AB2E #2E7DB6 #672EB6
monochromatic
#544F15 #857D22 #B6AB2E #D2C84F #DFD780
Accessibility & contrast
On white
2.37
#B6AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#B6AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6AB2E
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6AB2E | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA515
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#C49F93
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b6ab2e; /* rgb */ color: rgb(182, 171, 46); /* oklch */ color: oklch(72.9% 0.139 104.2);
Tailwind
colors: {
custom: {
50: '#d0c370',
500: '#b6ab2e',
950: '#000000',
},
}SCSS
$custom: #b6ab2e; $custom-light: #d0c370; $custom-dark: #000000;
JSON
{
"hex": "#b6ab2e",
"rgb": {
"r": 182,
"g": 171,
"b": 46
},
"hsl": {
"h": 55.147,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.72887,
"c": 0.13933,
"h": 104.2
},
"luminance": 0.39268
}Semantic roles & 50–950 ramp
primary
#B6AB2E
secondary
#787FC8
accent
#52E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B