#BCAB42#BCAB42
#BCAB42 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.125 H 100.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BCAB42 |
|---|---|
| RGB | rgb(188, 171, 66) |
| HSL | hsl(52, 48%, 50%) |
| HSV | hsv(52, 65%, 74%) |
| CMYK | cmyk(0%, 9%, 64.9%, 26.3%) |
| CIE-LAB | lab(69.62, -6.33, 54.46) |
| CIE-LCH | lch(69.62, 54.83, 96.63°) |
| OKLab | oklab(73.6% -0.0219 0.1236) |
| OKLCH | oklch(73.6% 0.125 100.1) |
| XYZ | xyz(36.2868, 40.2121, 11.0035) |
| Luminance | 0.4021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.50
Brownish Yellow
#C9B003
ΔE00 5.49
Olive Yellow
#C2B709
ΔE00 5.98
Mustard (survey)
#CEB301
ΔE00 6.22
Darkkhaki
#BDB76B
ΔE00 6.35
Puke
#A5A502
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCAB42 #4253BC
analogous
#BC6E42 #BCAB42 #90BC42
triadic
#BCAB42 #42BCAB #AB42BC
tetradic
#BCAB42 #42BC6E #4253BC #BC4290
square
#BCAB42 #42BC6E #4253BC #BC4290
split-complementary
#BCAB42 #4290BC #6E42BC
monochromatic
#615922 #8F8232 #BCAB42 #CCBF6F #DCD39C
Accessibility & contrast
On white
2.32
#BCAB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#BCAB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCAB42
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCAB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCAB42 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA635
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#CA9F95
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #bcab42; /* rgb */ color: rgb(188, 171, 66); /* oklch */ color: oklch(73.6% 0.125 100.1);
Tailwind
colors: {
custom: {
50: '#d3c37b',
500: '#bcab42',
950: '#000000',
},
}SCSS
$custom: #bcab42; $custom-light: #d3c37b; $custom-dark: #000000;
JSON
{
"hex": "#bcab42",
"rgb": {
"r": 188,
"g": 171,
"b": 66
},
"hsl": {
"h": 51.639,
"s": 48.031,
"l": 49.804
},
"oklch": {
"l": 0.73595,
"c": 0.12548,
"h": 100.1
},
"luminance": 0.40211
}Semantic roles & 50–950 ramp
primary
#BCAB42
secondary
#9199C9
accent
#63D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C