#BCA52F#BCA52F

#BCA52F is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.134 H 97.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#BCA52F
RGBrgb(188, 165, 47)
HSLhsl(50, 60%, 46%)
HSVhsv(50, 75%, 74%)
CMYKcmyk(0%, 12.2%, 75%, 26.3%)
CIE-LABlab(67.88, -4.16, 60.30)
CIE-LCHlch(67.88, 60.45, 93.95°)
OKLaboklab(72.17% -0.0179 0.1326)
OKLCHoklch(72.17% 0.134 97.7)
XYZxyz(34.7090, 37.8087, 8.1584)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA52F #2F46BC
analogous
#BC5E2F #BCA52F #8CBC2F
triadic
#BCA52F #2FBCA5 #A52FBC
tetradic
#BCA52F #2FBC5E #2F46BC #BC2F8C
square
#BCA52F #2FBC5E #2F46BC #BC2F8C
split-complementary
#BCA52F #2F8CBC #5E2FBC
monochromatic
#5A4F17 #8B7A23 #BCA52F #D4BF54 #E0D285

Accessibility & contrast

On white

2.45
#BCA52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#BCA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA52F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA52F#FFFFFF#000000##000000
##BCA52F1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#CB988E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bca52f;
/* rgb */ color: rgb(188, 165, 47);
/* oklch */ color: oklch(72.2% 0.134 97.7);
Tailwind
colors: {
  custom: {
    50: '#d4bf70',
    500: '#bca52f',
    950: '#000000',
  },
}
SCSS
$custom: #bca52f;
$custom-light: #d4bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bca52f",
  "rgb": {
    "r": 188,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 50.213,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72172,
    "c": 0.13375,
    "h": 97.7
  },
  "luminance": 0.37807
}

Semantic roles & 50–950 ramp

primary
#BCA52F
secondary
#7D89CA
accent
#5FE345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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