#BCAC31#BCAC31

#BCAC31 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.7% C 0.138 H 101.6°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#BCAC31
RGBrgb(188, 172, 49)
HSLhsl(53, 59%, 46%)
HSVhsv(53, 74%, 74%)
CMYKcmyk(0%, 8.5%, 73.9%, 26.3%)
CIE-LABlab(69.77, -7.76, 61.38)
CIE-LCHlch(69.77, 61.87, 97.21°)
OKLaboklab(73.67% -0.0279 0.1352)
OKLCHoklch(73.67% 0.138 101.6)
XYZxyz(36.0476, 40.4198, 8.8082)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAC31 #3141BC
analogous
#BC6731 #BCAC31 #87BC31
triadic
#BCAC31 #31BCAC #AC31BC
tetradic
#BCAC31 #31BC67 #3141BC #BC3187
square
#BCAC31 #31BC67 #3141BC #BC3187
split-complementary
#BCAC31 #3187BC #6731BC
monochromatic
#5B5318 #8B8024 #BCAC31 #D3C557 #E0D688

Accessibility & contrast

On white

2.31
#BCAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#BCAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAC31
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAC31#FFFFFF#000000##000000
##BCAC311.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71A
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#CB9F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bcac31;
/* rgb */ color: rgb(188, 172, 49);
/* oklch */ color: oklch(73.7% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#d4c472',
    500: '#bcac31',
    950: '#000000',
  },
}
SCSS
$custom: #bcac31;
$custom-light: #d4c472;
$custom-dark: #000000;
JSON
{
  "hex": "#bcac31",
  "rgb": {
    "r": 188,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 53.094,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73673,
    "c": 0.13805,
    "h": 101.6
  },
  "luminance": 0.40418
}

Semantic roles & 50–950 ramp

primary
#BCAC31
secondary
#7F88CA
accent
#58E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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