#BCA540#BCA540
#BCA540 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.122 H 96.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BCA540 |
|---|---|
| RGB | rgb(188, 165, 64) |
| HSL | hsl(49, 49%, 49%) |
| HSV | hsv(49, 66%, 74%) |
| CMYK | cmyk(0%, 12.2%, 66%, 26.3%) |
| CIE-LAB | lab(68.00, -3.28, 53.61) |
| CIE-LCH | lch(68.00, 53.71, 93.50°) |
| OKLab | oklab(72.31% -0.0134 0.1214) |
| OKLCH | oklch(72.31% 0.122 96.3) |
| XYZ | xyz(35.1212, 37.9735, 10.3292) |
| Luminance | 0.3797 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 5.30
Ocher
#BF9B0C
ΔE00 5.34
Brown Yellow
#B29705
ΔE00 5.38
Desert
#CCAD60
ΔE00 5.54
Sandy Brown
#C4A661
ΔE00 5.96
Dark Gold
#B59410
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCA540 #4057BC
analogous
#BC6740 #BCA540 #95BC40
triadic
#BCA540 #40BCA5 #A540BC
tetradic
#BCA540 #40BC67 #4057BC #BC4095
square
#BCA540 #40BC67 #4057BC #BC4095
split-complementary
#BCA540 #4095BC #6740BC
monochromatic
#615521 #8E7D30 #BCA540 #CDBB6C #DDD09A
Accessibility & contrast
On white
2.44
#BCA540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#BCA540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCA540
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCA540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCA540 | 1.00 | 2.44 | 8.59 | 8.59 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A134
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#CA9990
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #bca540; /* rgb */ color: rgb(188, 165, 64); /* oklch */ color: oklch(72.3% 0.122 96.3);
Tailwind
colors: {
custom: {
50: '#d3bf7a',
500: '#bca540',
950: '#000000',
},
}SCSS
$custom: #bca540; $custom-light: #d3bf7a; $custom-dark: #000000;
JSON
{
"hex": "#bca540",
"rgb": {
"r": 188,
"g": 165,
"b": 64
},
"hsl": {
"h": 48.871,
"s": 49.206,
"l": 49.412
},
"oklch": {
"l": 0.72307,
"c": 0.12218,
"h": 96.3
},
"luminance": 0.37972
}Semantic roles & 50–950 ramp
primary
#BCA540
secondary
#8F9AC9
accent
#69D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151209
muted
#83817B