#BCA840#BCA840

#BCA840 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.125 H 98.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#BCA840
RGBrgb(188, 168, 64)
HSLhsl(50, 49%, 49%)
HSVhsv(50, 66%, 74%)
CMYKcmyk(0%, 10.6%, 66%, 26.3%)
CIE-LABlab(68.80, -4.87, 54.46)
CIE-LCHlch(68.80, 54.68, 95.11°)
OKLaboklab(72.94% -0.018 0.1232)
OKLCHoklch(72.94% 0.125 98.3)
XYZxyz(35.6687, 39.0685, 10.5117)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA840 #4054BC
analogous
#BC6A40 #BCA840 #92BC40
triadic
#BCA840 #40BCA8 #A840BC
tetradic
#BCA840 #40BC6A #4054BC #BC4092
square
#BCA840 #40BC6A #4054BC #BC4092
split-complementary
#BCA840 #4092BC #6A40BC
monochromatic
#615621 #8E7F30 #BCA840 #CDBD6C #DDD29A

Accessibility & contrast

On white

2.38
#BCA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#BCA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA840
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA840#FFFFFF#000000##000000
##BCA8401.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#BDAB46
Tritanopia (blue-blind)
#CA9C92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bca840;
/* rgb */ color: rgb(188, 168, 64);
/* oklch */ color: oklch(72.9% 0.125 98.3);
Tailwind
colors: {
  custom: {
    50: '#d3c17a',
    500: '#bca840',
    950: '#000000',
  },
}
SCSS
$custom: #bca840;
$custom-light: #d3c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#bca840",
  "rgb": {
    "r": 188,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 50.323,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7294,
    "c": 0.12454,
    "h": 98.3
  },
  "luminance": 0.39067
}

Semantic roles & 50–950 ramp

primary
#BCA840
secondary
#8F99C9
accent
#65D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BCA840

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

Preview Lab → · Contrast checker → · Palette generator →

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