#B6AB38#B6AB38
#B6AB38 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.133 H 103.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B6AB38 |
|---|---|
| RGB | rgb(182, 171, 56) |
| HSL | hsl(55, 53%, 47%) |
| HSV | hsv(55, 69%, 71%) |
| CMYK | cmyk(0%, 6%, 69.2%, 28.6%) |
| CIE-LAB | lab(69.01, -9.51, 57.81) |
| CIE-LCH | lch(69.01, 58.59, 99.35°) |
| OKLab | oklab(72.96% -0.0317 0.1292) |
| OKLCH | oklch(72.96% 0.133 103.8) |
| XYZ | xyz(34.5695, 39.3578, 9.5165) |
| Luminance | 0.3936 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.16
Puke
#A5A502
ΔE00 4.53
Vomit
#A2A415
ΔE00 4.73
Olive Yellow
#C2B709
ΔE00 5.11
Brownish Yellow
#C9B003
ΔE00 5.74
Puke Yellow
#C2BE0E
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6AB38 #3843B6
analogous
#B66C38 #B6AB38 #82B638
triadic
#B6AB38 #38B6AB #AB38B6
tetradic
#B6AB38 #38B66C #3843B6 #B63882
square
#B6AB38 #38B66C #3843B6 #B63882
split-complementary
#B6AB38 #3882B6 #6C38B6
monochromatic
#58531B #877F2A #B6AB38 #CDC45E #DCD58D
Accessibility & contrast
On white
2.37
#B6AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#B6AB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6AB38
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6AB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6AB38 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA527
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#C49F94
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b6ab38; /* rgb */ color: rgb(182, 171, 56); /* oklch */ color: oklch(73.0% 0.133 103.8);
Tailwind
colors: {
custom: {
50: '#cfc376',
500: '#b6ab38',
950: '#000000',
},
}SCSS
$custom: #b6ab38; $custom-light: #cfc376; $custom-dark: #000000;
JSON
{
"hex": "#b6ab38",
"rgb": {
"r": 182,
"g": 171,
"b": 56
},
"hsl": {
"h": 54.762,
"s": 52.941,
"l": 46.667
},
"oklch": {
"l": 0.72958,
"c": 0.13301,
"h": 103.8
},
"luminance": 0.39356
}Semantic roles & 50–950 ramp
primary
#B6AB38
secondary
#8489C6
accent
#58DC4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B