#BCA21F#BCA21F

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

Color values

HEX#BCA21F
RGBrgb(188, 162, 31)
HSLhsl(50, 72%, 43%)
HSVhsv(50, 84%, 74%)
CMYKcmyk(0%, 13.8%, 83.5%, 26.3%)
CIE-LABlab(67.00, -3.14, 64.62)
CIE-LCHlch(67.00, 64.69, 92.79°)
OKLaboklab(71.45% -0.0164 0.1386)
OKLCHoklch(71.45% 0.14 96.8)
XYZxyz(33.9086, 36.6329, 6.5809)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA21F #1F39BC
analogous
#BC541F #BCA21F #87BC1F
triadic
#BCA21F #1FBCA2 #A21FBC
tetradic
#BCA21F #1FBC54 #1F39BC #BC1F87
square
#BCA21F #1FBC54 #1F39BC #BC1F87
split-complementary
#BCA21F #1F87BC #541FBC
monochromatic
#53470E #877516 #BCA21F #DEC33A #E7D36E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BCA21F#FFFFFF#000000##000000
##BCA21F1.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)
#BAA72A
Tritanopia (blue-blind)
#CC958B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bca21f;
/* rgb */ color: rgb(188, 162, 31);
/* oklch */ color: oklch(71.5% 0.140 96.8);
Tailwind
colors: {
  custom: {
    50: '#d5bd69',
    500: '#bca21f',
    950: '#000000',
  },
}
SCSS
$custom: #bca21f;
$custom-light: #d5bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#bca21f",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 31
  },
  "hsl": {
    "h": 50.064,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7145,
    "c": 0.13958,
    "h": 96.8
  },
  "luminance": 0.36631
}

Semantic roles & 50–950 ramp

primary
#BCA21F
secondary
#697ACD
accent
#57EE39
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151207
muted
#83817A

Preview Lab

Preview with #BCA21F

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

Preview Lab → · Contrast checker → · Palette generator →

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