#BCA221#BCA221

#BCA221 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.5% C 0.139 H 96.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#BCA221
RGBrgb(188, 162, 33)
HSLhsl(50, 70%, 43%)
HSVhsv(50, 82%, 74%)
CMYKcmyk(0%, 13.8%, 82.4%, 26.3%)
CIE-LABlab(67.01, -3.08, 64.07)
CIE-LCHlch(67.01, 64.14, 92.76°)
OKLaboklab(71.46% -0.0161 0.1378)
OKLCHoklch(71.46% 0.139 96.7)
XYZxyz(33.9358, 36.6437, 6.7240)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA221 #213BBC
analogous
#BC5421 #BCA221 #89BC21
triadic
#BCA221 #21BCA2 #A221BC
tetradic
#BCA221 #21BC54 #213BBC #BC2189
square
#BCA221 #21BC54 #213BBC #BC2189
split-complementary
#BCA221 #2189BC #5421BC
monochromatic
#54480F #887518 #BCA221 #DDC23D #E6D371

Accessibility & contrast

On white

2.52
#BCA221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#BCA221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA221
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA221#FFFFFF#000000##000000
##BCA2211.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#BAA72B
Tritanopia (blue-blind)
#CC958B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bca221;
/* rgb */ color: rgb(188, 162, 33);
/* oklch */ color: oklch(71.5% 0.139 96.7);
Tailwind
colors: {
  custom: {
    50: '#d5bd69',
    500: '#bca221',
    950: '#000000',
  },
}
SCSS
$custom: #bca221;
$custom-light: #d5bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#bca221",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 49.935,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7146,
    "c": 0.13875,
    "h": 96.7
  },
  "luminance": 0.36642
}

Semantic roles & 50–950 ramp

primary
#BCA221
secondary
#6C7CCD
accent
#59ED3B
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BCA221

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BCA221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva