#BCA231#BCA231
#BCA231 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.130 H 95.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BCA231 |
|---|---|
| RGB | rgb(188, 162, 49) |
| HSL | hsl(49, 59%, 46%) |
| HSV | hsv(49, 74%, 74%) |
| CMYK | cmyk(0%, 13.8%, 73.9%, 26.3%) |
| CIE-LAB | lab(67.09, -2.48, 58.81) |
| CIE-LCH | lch(67.09, 58.87, 92.41°) |
| OKLab | oklab(71.55% -0.0129 0.1298) |
| OKLCH | oklch(71.55% 0.13 95.7) |
| XYZ | xyz(34.2155, 36.7556, 8.1975) |
| Luminance | 0.3675 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.69
Brown Yellow
#B29705
ΔE00 3.87
Dark Gold
#B59410
ΔE00 4.57
Muddy Yellow
#BFAC05
ΔE00 4.73
Yellow Brown
#B79400
ΔE00 4.91
Ocre
#C69C04
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCA231 #314BBC
analogous
#BC5D31 #BCA231 #91BC31
triadic
#BCA231 #31BCA2 #A231BC
tetradic
#BCA231 #31BC5D #314BBC #BC3191
square
#BCA231 #31BC5D #314BBC #BC3191
split-complementary
#BCA231 #3191BC #5D31BC
monochromatic
#5B4E18 #8B7824 #BCA231 #D3BC57 #E0CF88
Accessibility & contrast
On white
2.51
#BCA231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#BCA231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCA231
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCA231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCA231 | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#CB958C
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #bca231; /* rgb */ color: rgb(188, 162, 49); /* oklch */ color: oklch(71.6% 0.130 95.7);
Tailwind
colors: {
custom: {
50: '#d4bd71',
500: '#bca231',
950: '#000000',
},
}SCSS
$custom: #bca231; $custom-light: #d4bd71; $custom-dark: #000000;
JSON
{
"hex": "#bca231",
"rgb": {
"r": 188,
"g": 162,
"b": 49
},
"hsl": {
"h": 48.777,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.71553,
"c": 0.13042,
"h": 95.7
},
"luminance": 0.36754
}Semantic roles & 50–950 ramp
primary
#BCA231
secondary
#7F8DCA
accent
#63E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B