#BCA321#BCA321

#BCA321 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.139 H 97.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#BCA321
RGBrgb(188, 163, 33)
HSLhsl(50, 70%, 43%)
HSVhsv(50, 82%, 74%)
CMYKcmyk(0%, 13.3%, 82.4%, 26.3%)
CIE-LABlab(67.28, -3.62, 64.29)
CIE-LCHlch(67.28, 64.40, 93.22°)
OKLaboklab(71.67% -0.0176 0.1383)
OKLCHoklch(71.67% 0.139 97.3)
XYZxyz(34.1126, 36.9974, 6.7830)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA321 #213ABC
analogous
#BC5621 #BCA321 #87BC21
triadic
#BCA321 #21BCA3 #A321BC
tetradic
#BCA321 #21BC56 #213ABC #BC2187
square
#BCA321 #21BC56 #213ABC #BC2187
split-complementary
#BCA321 #2187BC #5621BC
monochromatic
#54490F #887618 #BCA321 #DDC33D #E6D371

Accessibility & contrast

On white

2.50
#BCA321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#BCA321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA321
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA321#FFFFFF#000000##000000
##BCA3211.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#BBA72B
Tritanopia (blue-blind)
#CC968C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bca321;
/* rgb */ color: rgb(188, 163, 33);
/* oklch */ color: oklch(71.7% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#d5bd6a',
    500: '#bca321',
    950: '#000000',
  },
}
SCSS
$custom: #bca321;
$custom-light: #d5bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#bca321",
  "rgb": {
    "r": 188,
    "g": 163,
    "b": 33
  },
  "hsl": {
    "h": 50.323,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7167,
    "c": 0.13942,
    "h": 97.3
  },
  "luminance": 0.36996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BCA321

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

Preview Lab → · Contrast checker → · Palette generator →

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