#BCA940#BCA940

#BCA940 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.2% C 0.125 H 99.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#BCA940
RGBrgb(188, 169, 64)
HSLhsl(51, 49%, 49%)
HSVhsv(51, 66%, 74%)
CMYKcmyk(0%, 10.1%, 66%, 26.3%)
CIE-LABlab(69.07, -5.40, 54.74)
CIE-LCHlch(69.07, 55.01, 95.63°)
OKLaboklab(73.15% -0.0195 0.1238)
OKLCHoklch(73.15% 0.125 99)
XYZxyz(35.8540, 39.4391, 10.5734)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA940 #4053BC
analogous
#BC6B40 #BCA940 #91BC40
triadic
#BCA940 #40BCA9 #A940BC
tetradic
#BCA940 #40BC6B #4053BC #BC4091
square
#BCA940 #40BC6B #4053BC #BC4091
split-complementary
#BCA940 #4091BC #6B40BC
monochromatic
#615721 #8E8030 #BCA940 #CDBE6C #DDD29A

Accessibility & contrast

On white

2.36
#BCA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#BCA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA940
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA940#FFFFFF#000000##000000
##BCA9401.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#BEAC46
Tritanopia (blue-blind)
#CA9D93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bca940;
/* rgb */ color: rgb(188, 169, 64);
/* oklch */ color: oklch(73.2% 0.125 99.0);
Tailwind
colors: {
  custom: {
    50: '#d3c27a',
    500: '#bca940',
    950: '#000000',
  },
}
SCSS
$custom: #bca940;
$custom-light: #d3c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#bca940",
  "rgb": {
    "r": 188,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 50.806,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73152,
    "c": 0.12535,
    "h": 99
  },
  "luminance": 0.39437
}

Semantic roles & 50–950 ramp

primary
#BCA940
secondary
#8F98C9
accent
#64D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BCA940

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

Preview Lab → · Contrast checker → · Palette generator →

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