#BCA02F#BCA02F

#BCA02F is a light, vivid yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.130 H 94.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#BCA02F
RGBrgb(188, 160, 47)
HSLhsl(48, 60%, 46%)
HSVhsv(48, 75%, 74%)
CMYKcmyk(0%, 14.9%, 75%, 26.3%)
CIE-LABlab(66.55, -1.50, 59.04)
CIE-LCHlch(66.55, 59.06, 91.45°)
OKLaboklab(71.12% -0.0103 0.1299)
OKLCHoklch(71.12% 0.13 94.5)
XYZxyz(33.8248, 36.0401, 7.8636)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA02F #2F4BBC
analogous
#BC592F #BCA02F #91BC2F
triadic
#BCA02F #2FBCA0 #A02FBC
tetradic
#BCA02F #2FBC59 #2F4BBC #BC2F91
square
#BCA02F #2FBC59 #2F4BBC #BC2F91
split-complementary
#BCA02F #2F91BC #592FBC
monochromatic
#5A4D17 #8B7623 #BCA02F #D4BB54 #E0CE85

Accessibility & contrast

On white

2.56
#BCA02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#BCA02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA02F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA02F#FFFFFF#000000##000000
##BCA02F1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1B
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#CB938A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bca02f;
/* rgb */ color: rgb(188, 160, 47);
/* oklch */ color: oklch(71.1% 0.130 94.5);
Tailwind
colors: {
  custom: {
    50: '#d4bb70',
    500: '#bca02f',
    950: '#000000',
  },
}
SCSS
$custom: #bca02f;
$custom-light: #d4bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#bca02f",
  "rgb": {
    "r": 188,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 48.085,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7112,
    "c": 0.13027,
    "h": 94.5
  },
  "luminance": 0.36038
}

Semantic roles & 50–950 ramp

primary
#BCA02F
secondary
#7D8CCA
accent
#64E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BCA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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