#BCA340#BCA340

#BCA340 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.121 H 94.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BCA340
RGBrgb(188, 163, 64)
HSLhsl(48, 49%, 49%)
HSVhsv(48, 66%, 74%)
CMYKcmyk(0%, 13.3%, 66%, 26.3%)
CIE-LABlab(67.47, -2.21, 53.05)
CIE-LCHlch(67.47, 53.10, 92.39°)
OKLaboklab(71.89% -0.0104 0.1202)
OKLCHoklch(71.89% 0.121 94.9)
XYZxyz(34.7633, 37.2577, 10.2099)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA340 #4059BC
analogous
#BC6540 #BCA340 #97BC40
triadic
#BCA340 #40BCA3 #A340BC
tetradic
#BCA340 #40BC65 #4059BC #BC4097
square
#BCA340 #40BC65 #4059BC #BC4097
split-complementary
#BCA340 #4097BC #6540BC
monochromatic
#615421 #8E7B30 #BCA340 #CDB96C #DDCF9A

Accessibility & contrast

On white

2.48
#BCA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BCA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA340
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA340#FFFFFF#000000##000000
##BCA3401.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#CB978E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bca340;
/* rgb */ color: rgb(188, 163, 64);
/* oklch */ color: oklch(71.9% 0.121 94.9);
Tailwind
colors: {
  custom: {
    50: '#d3bd7a',
    500: '#bca340',
    950: '#000000',
  },
}
SCSS
$custom: #bca340;
$custom-light: #d3bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bca340",
  "rgb": {
    "r": 188,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 47.903,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71887,
    "c": 0.12069,
    "h": 94.9
  },
  "luminance": 0.37256
}

Semantic roles & 50–950 ramp

primary
#BCA340
secondary
#8F9BC9
accent
#6BD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BCA340

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

Preview Lab → · Contrast checker → · Palette generator →

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