#BCA540#BCA540

#BCA540 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.122 H 96.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#BCA540
RGBrgb(188, 165, 64)
HSLhsl(49, 49%, 49%)
HSVhsv(49, 66%, 74%)
CMYKcmyk(0%, 12.2%, 66%, 26.3%)
CIE-LABlab(68.00, -3.28, 53.61)
CIE-LCHlch(68.00, 53.71, 93.50°)
OKLaboklab(72.31% -0.0134 0.1214)
OKLCHoklch(72.31% 0.122 96.3)
XYZxyz(35.1212, 37.9735, 10.3292)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA540 #4057BC
analogous
#BC6740 #BCA540 #95BC40
triadic
#BCA540 #40BCA5 #A540BC
tetradic
#BCA540 #40BC67 #4057BC #BC4095
square
#BCA540 #40BC67 #4057BC #BC4095
split-complementary
#BCA540 #4095BC #6740BC
monochromatic
#615521 #8E7D30 #BCA540 #CDBB6C #DDD09A

Accessibility & contrast

On white

2.44
#BCA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#BCA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA540
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA540#FFFFFF#000000##000000
##BCA5401.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A134
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#CA9990
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bca540;
/* rgb */ color: rgb(188, 165, 64);
/* oklch */ color: oklch(72.3% 0.122 96.3);
Tailwind
colors: {
  custom: {
    50: '#d3bf7a',
    500: '#bca540',
    950: '#000000',
  },
}
SCSS
$custom: #bca540;
$custom-light: #d3bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bca540",
  "rgb": {
    "r": 188,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 48.871,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72307,
    "c": 0.12218,
    "h": 96.3
  },
  "luminance": 0.37972
}

Semantic roles & 50–950 ramp

primary
#BCA540
secondary
#8F9AC9
accent
#69D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BCA540

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

Preview Lab → · Contrast checker → · Palette generator →

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