#B6AB4E#B6AB4E
#B6AB4E is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.115 H 102.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B6AB4E |
|---|---|
| RGB | rgb(182, 171, 78) |
| HSL | hsl(54, 42%, 51%) |
| HSV | hsv(54, 57%, 71%) |
| CMYK | cmyk(0%, 6%, 57.1%, 28.6%) |
| CIE-LAB | lab(69.20, -8.07, 48.42) |
| CIE-LCH | lch(69.20, 49.09, 99.47°) |
| OKLab | oklab(73.17% -0.0251 0.1125) |
| OKLCH | oklch(73.17% 0.115 102.6) |
| XYZ | xyz(35.2306, 39.6222, 12.9983) |
| Luminance | 0.3962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.63
Khaki (survey)
#AAA662
ΔE00 5.02
Vomit
#A2A415
ΔE00 6.41
Muddy Yellow
#BFAC05
ΔE00 6.57
Puke
#A5A502
ΔE00 6.62
Desert
#CCAD60
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6AB4E #4E59B6
analogous
#B6774E #B6AB4E #8DB64E
triadic
#B6AB4E #4EB6AB #AB4EB6
tetradic
#B6AB4E #4EB677 #4E59B6 #B64E8D
square
#B6AB4E #4EB677 #4E59B6 #B64E8D
split-complementary
#B6AB4E #4E8DB6 #774EB6
monochromatic
#615B28 #8D843A #B6AB4E #C8C079 #DAD4A5
Accessibility & contrast
On white
2.35
#B6AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#B6AB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6AB4E
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6AB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6AB4E | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A645
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#C2A096
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b6ab4e; /* rgb */ color: rgb(182, 171, 78); /* oklch */ color: oklch(73.2% 0.115 102.6);
Tailwind
colors: {
custom: {
50: '#cec383',
500: '#b6ab4e',
950: '#000000',
},
}SCSS
$custom: #b6ab4e; $custom-light: #cec383; $custom-dark: #000000;
JSON
{
"hex": "#b6ab4e",
"rgb": {
"r": 182,
"g": 171,
"b": 78
},
"hsl": {
"h": 53.654,
"s": 41.6,
"l": 50.98
},
"oklch": {
"l": 0.7317,
"c": 0.11524,
"h": 102.6
},
"luminance": 0.39621
}Semantic roles & 50–950 ramp
primary
#B6AB4E
secondary
#999EC7
accent
#63D156
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C