#BCA821#BCA821

#BCA821 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.143 H 100.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#BCA821
RGBrgb(188, 168, 33)
HSLhsl(52, 70%, 43%)
HSVhsv(52, 82%, 74%)
CMYKcmyk(0%, 10.6%, 82.4%, 26.3%)
CIE-LABlab(68.61, -6.26, 65.44)
CIE-LCHlch(68.61, 65.74, 95.47°)
OKLaboklab(72.73% -0.0251 0.1408)
OKLCHoklch(72.73% 0.143 100.1)
XYZxyz(35.0180, 38.8082, 7.0848)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA821 #2135BC
analogous
#BC5A21 #BCA821 #82BC21
triadic
#BCA821 #21BCA8 #A821BC
tetradic
#BCA821 #21BC5A #2135BC #BC2182
square
#BCA821 #21BC5A #2135BC #BC2182
split-complementary
#BCA821 #2182BC #5A21BC
monochromatic
#544B0F #887918 #BCA821 #DDC83D #E6D771

Accessibility & contrast

On white

2.40
#BCA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#BCA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA821
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA821#FFFFFF#000000##000000
##BCA8211.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#CB9B90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bca821;
/* rgb */ color: rgb(188, 168, 33);
/* oklch */ color: oklch(72.7% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#d5c16a',
    500: '#bca821',
    950: '#000000',
  },
}
SCSS
$custom: #bca821;
$custom-light: #d5c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#bca821",
  "rgb": {
    "r": 188,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 52.258,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.14301,
    "h": 100.1
  },
  "luminance": 0.38806
}

Semantic roles & 50–950 ramp

primary
#BCA821
secondary
#6C78CD
accent
#52ED3B
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BCA821

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

Preview Lab → · Contrast checker → · Palette generator →

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