#BCAA31#BCAA31

#BCAA31 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.2% C 0.136 H 100.5°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BCAA31
RGBrgb(188, 170, 49)
HSLhsl(52, 59%, 46%)
HSVhsv(52, 74%, 74%)
CMYKcmyk(0%, 9.6%, 73.9%, 26.3%)
CIE-LABlab(69.23, -6.72, 60.86)
CIE-LCHlch(69.23, 61.23, 96.30°)
OKLaboklab(73.25% -0.0249 0.1341)
OKLCHoklch(73.25% 0.136 100.5)
XYZxyz(35.6698, 39.6642, 8.6822)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAA31 #3143BC
analogous
#BC6531 #BCAA31 #89BC31
triadic
#BCAA31 #31BCAA #AA31BC
tetradic
#BCAA31 #31BC65 #3143BC #BC3189
square
#BCAA31 #31BC65 #3143BC #BC3189
split-complementary
#BCAA31 #3189BC #6531BC
monochromatic
#5B5218 #8B7E24 #BCAA31 #D3C357 #E0D488

Accessibility & contrast

On white

2.35
#BCAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BCAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAA31
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAA31#FFFFFF#000000##000000
##BCAA311.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51B
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#CB9D93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bcaa31;
/* rgb */ color: rgb(188, 170, 49);
/* oklch */ color: oklch(73.2% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#d4c272',
    500: '#bcaa31',
    950: '#000000',
  },
}
SCSS
$custom: #bcaa31;
$custom-light: #d4c272;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaa31",
  "rgb": {
    "r": 188,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 52.23,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73246,
    "c": 0.13642,
    "h": 100.5
  },
  "luminance": 0.39663
}

Semantic roles & 50–950 ramp

primary
#BCAA31
secondary
#7F89CA
accent
#5AE246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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