#BCAB40#BCAB40

#BCAB40 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.127 H 100.2°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#BCAB40
RGBrgb(188, 171, 64)
HSLhsl(52, 49%, 49%)
HSVhsv(52, 66%, 74%)
CMYKcmyk(0%, 9%, 66%, 26.3%)
CIE-LABlab(69.60, -6.45, 55.30)
CIE-LCHlch(69.60, 55.68, 96.66°)
OKLaboklab(73.58% -0.0225 0.125)
OKLCHoklch(73.58% 0.127 100.2)
XYZxyz(36.2289, 40.1889, 10.6984)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAB40 #4051BC
analogous
#BC6D40 #BCAB40 #8FBC40
triadic
#BCAB40 #40BCAB #AB40BC
tetradic
#BCAB40 #40BC6D #4051BC #BC408F
square
#BCAB40 #40BC6D #4051BC #BC408F
split-complementary
#BCAB40 #408FBC #6D40BC
monochromatic
#615821 #8E8130 #BCAB40 #CDC06C #DDD39A

Accessibility & contrast

On white

2.32
#BCAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#BCAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAB40
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAB40#FFFFFF#000000##000000
##BCAB401.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#BFAD46
Tritanopia (blue-blind)
#CA9F95
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bcab40;
/* rgb */ color: rgb(188, 171, 64);
/* oklch */ color: oklch(73.6% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#d3c37a',
    500: '#bcab40',
    950: '#000000',
  },
}
SCSS
$custom: #bcab40;
$custom-light: #d3c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#bcab40",
  "rgb": {
    "r": 188,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 51.774,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73577,
    "c": 0.12702,
    "h": 100.2
  },
  "luminance": 0.40187
}

Semantic roles & 50–950 ramp

primary
#BCAB40
secondary
#8F97C9
accent
#62D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BCAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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