#BCA842#BCA842

#BCA842 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.0% C 0.123 H 98.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#BCA842
RGBrgb(188, 168, 66)
HSLhsl(50, 48%, 50%)
HSVhsv(50, 65%, 74%)
CMYKcmyk(0%, 10.6%, 64.9%, 26.3%)
CIE-LABlab(68.82, -4.75, 53.61)
CIE-LCHlch(68.82, 53.82, 95.06°)
OKLaboklab(72.96% -0.0174 0.1217)
OKLCHoklch(72.96% 0.123 98.1)
XYZxyz(35.7266, 39.0916, 10.8168)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA842 #4256BC
analogous
#BC6B42 #BCA842 #93BC42
triadic
#BCA842 #42BCA8 #A842BC
tetradic
#BCA842 #42BC6B #4256BC #BC4293
square
#BCA842 #42BC6B #4256BC #BC4293
split-complementary
#BCA842 #4293BC #6B42BC
monochromatic
#615722 #8F8032 #BCA842 #CCBD6F #DCD29C

Accessibility & contrast

On white

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

On black

8.82
#BCA842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA842
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA842#FFFFFF#000000##000000
##BCA8421.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A436
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#CA9C93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bca842;
/* rgb */ color: rgb(188, 168, 66);
/* oklch */ color: oklch(73.0% 0.123 98.1);
Tailwind
colors: {
  custom: {
    50: '#d3c17b',
    500: '#bca842',
    950: '#000000',
  },
}
SCSS
$custom: #bca842;
$custom-light: #d3c17b;
$custom-dark: #000000;
JSON
{
  "hex": "#bca842",
  "rgb": {
    "r": 188,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 50.164,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72959,
    "c": 0.12298,
    "h": 98.1
  },
  "luminance": 0.3909
}

Semantic roles & 50–950 ramp

primary
#BCA842
secondary
#919AC9
accent
#66D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BCA842

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

Preview Lab → · Contrast checker → · Palette generator →

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