#BCA240#BCA240

#BCA240 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.7% C 0.120 H 94.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#BCA240
RGBrgb(188, 162, 64)
HSLhsl(47, 49%, 49%)
HSVhsv(47, 66%, 74%)
CMYKcmyk(0%, 13.8%, 66%, 26.3%)
CIE-LABlab(67.20, -1.68, 52.77)
CIE-LCHlch(67.20, 52.80, 91.82°)
OKLaboklab(71.68% -0.0088 0.1197)
OKLCHoklch(71.68% 0.12 94.2)
XYZxyz(34.5864, 36.9040, 10.1509)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA240 #405ABC
analogous
#BC6440 #BCA240 #98BC40
triadic
#BCA240 #40BCA2 #A240BC
tetradic
#BCA240 #40BC64 #405ABC #BC4098
square
#BCA240 #40BC64 #405ABC #BC4098
split-complementary
#BCA240 #4098BC #6440BC
monochromatic
#615321 #8E7B30 #BCA240 #CDB96C #DDCF9A

Accessibility & contrast

On white

2.51
#BCA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#BCA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA240
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA240#FFFFFF#000000##000000
##BCA2401.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#CB968D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bca240;
/* rgb */ color: rgb(188, 162, 64);
/* oklch */ color: oklch(71.7% 0.120 94.2);
Tailwind
colors: {
  custom: {
    50: '#d3bd79',
    500: '#bca240',
    950: '#000000',
  },
}
SCSS
$custom: #bca240;
$custom-light: #d3bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bca240",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 47.419,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71677,
    "c": 0.11998,
    "h": 94.2
  },
  "luminance": 0.36902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BCA240

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

Preview Lab → · Contrast checker → · Palette generator →

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