#BCA72C#BCA72C

#BCA72C is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.6% C 0.137 H 99.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#BCA72C
RGBrgb(188, 167, 44)
HSLhsl(51, 62%, 45%)
HSVhsv(51, 77%, 74%)
CMYKcmyk(0%, 11.2%, 76.6%, 26.3%)
CIE-LABlab(68.40, -5.35, 61.84)
CIE-LCHlch(68.40, 62.07, 94.94°)
OKLaboklab(72.58% -0.0215 0.1352)
OKLCHoklch(72.58% 0.137 99)
XYZxyz(35.0141, 38.5124, 7.9717)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA72C #2C41BC
analogous
#BC5F2C #BCA72C #89BC2C
triadic
#BCA72C #2CBCA7 #A72CBC
tetradic
#BCA72C #2CBC5F #2C41BC #BC2C89
square
#BCA72C #2CBC5F #2C41BC #BC2C89
split-complementary
#BCA72C #2C89BC #5F2CBC
monochromatic
#594F15 #8A7B20 #BCA72C #D6C24F #E1D381

Accessibility & contrast

On white

2.41
#BCA72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#BCA72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA72C
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA72C#FFFFFF#000000##000000
##BCA72C1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A312
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#CB9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bca72c;
/* rgb */ color: rgb(188, 167, 44);
/* oklch */ color: oklch(72.6% 0.137 99.0);
Tailwind
colors: {
  custom: {
    50: '#d4c06f',
    500: '#bca72c',
    950: '#000000',
  },
}
SCSS
$custom: #bca72c;
$custom-light: #d4c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bca72c",
  "rgb": {
    "r": 188,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 51.25,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72576,
    "c": 0.13694,
    "h": 99
  },
  "luminance": 0.38511
}

Semantic roles & 50–950 ramp

primary
#BCA72C
secondary
#7985CA
accent
#5AE543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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