#BCAB42#BCAB42

#BCAB42 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.125 H 100.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#BCAB42
RGBrgb(188, 171, 66)
HSLhsl(52, 48%, 50%)
HSVhsv(52, 65%, 74%)
CMYKcmyk(0%, 9%, 64.9%, 26.3%)
CIE-LABlab(69.62, -6.33, 54.46)
CIE-LCHlch(69.62, 54.83, 96.63°)
OKLaboklab(73.6% -0.0219 0.1236)
OKLCHoklch(73.6% 0.125 100.1)
XYZxyz(36.2868, 40.2121, 11.0035)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAB42 #4253BC
analogous
#BC6E42 #BCAB42 #90BC42
triadic
#BCAB42 #42BCAB #AB42BC
tetradic
#BCAB42 #42BC6E #4253BC #BC4290
square
#BCAB42 #42BC6E #4253BC #BC4290
split-complementary
#BCAB42 #4290BC #6E42BC
monochromatic
#615922 #8F8232 #BCAB42 #CCBF6F #DCD39C

Accessibility & contrast

On white

2.32
#BCAB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#BCAB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAB42
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAB42#FFFFFF#000000##000000
##BCAB421.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA635
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#CA9F95
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bcab42;
/* rgb */ color: rgb(188, 171, 66);
/* oklch */ color: oklch(73.6% 0.125 100.1);
Tailwind
colors: {
  custom: {
    50: '#d3c37b',
    500: '#bcab42',
    950: '#000000',
  },
}
SCSS
$custom: #bcab42;
$custom-light: #d3c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcab42",
  "rgb": {
    "r": 188,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 51.639,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73595,
    "c": 0.12548,
    "h": 100.1
  },
  "luminance": 0.40211
}

Semantic roles & 50–950 ramp

primary
#BCAB42
secondary
#9199C9
accent
#63D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BCAB42

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

Preview Lab → · Contrast checker → · Palette generator →

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