#BCA72D#BCA72D

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

Color values

HEX#BCA72D
RGBrgb(188, 167, 45)
HSLhsl(51, 61%, 46%)
HSVhsv(51, 76%, 74%)
CMYKcmyk(0%, 11.2%, 76.1%, 26.3%)
CIE-LABlab(68.40, -5.31, 61.50)
CIE-LCHlch(68.40, 61.73, 94.93°)
OKLaboklab(72.58% -0.0213 0.1347)
OKLCHoklch(72.58% 0.136 99)
XYZxyz(35.0332, 38.5200, 8.0719)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA72D #2D42BC
analogous
#BC602D #BCA72D #89BC2D
triadic
#BCA72D #2DBCA7 #A72DBC
tetradic
#BCA72D #2DBC60 #2D42BC #BC2D89
square
#BCA72D #2DBC60 #2D42BC #BC2D89
split-complementary
#BCA72D #2D89BC #602DBC
monochromatic
#594F15 #8B7B21 #BCA72D #D5C251 #E1D382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BCA72D#FFFFFF#000000##000000
##BCA72D1.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)
#B8A314
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#CB9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bca72d;
/* rgb */ color: rgb(188, 167, 45);
/* oklch */ color: oklch(72.6% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#d4c06f',
    500: '#bca72d',
    950: '#000000',
  },
}
SCSS
$custom: #bca72d;
$custom-light: #d4c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bca72d",
  "rgb": {
    "r": 188,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 51.189,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72582,
    "c": 0.13639,
    "h": 99
  },
  "luminance": 0.38518
}

Semantic roles & 50–950 ramp

primary
#BCA72D
secondary
#7B86CA
accent
#5BE443
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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