#BCA331#BCA331

#BCA331 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.8% C 0.131 H 96.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#BCA331
RGBrgb(188, 163, 49)
HSLhsl(49, 59%, 46%)
HSVhsv(49, 74%, 74%)
CMYKcmyk(0%, 13.3%, 73.9%, 26.3%)
CIE-LABlab(67.36, -3.01, 59.07)
CIE-LCHlch(67.36, 59.15, 92.92°)
OKLaboklab(71.76% -0.0144 0.1303)
OKLCHoklch(71.76% 0.131 96.3)
XYZxyz(34.3924, 37.1093, 8.2564)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA331 #314ABC
analogous
#BC5E31 #BCA331 #90BC31
triadic
#BCA331 #31BCA3 #A331BC
tetradic
#BCA331 #31BC5E #314ABC #BC3190
square
#BCA331 #31BC5E #314ABC #BC3190
split-complementary
#BCA331 #3190BC #5E31BC
monochromatic
#5B4F18 #8B7924 #BCA331 #D3BD57 #E0D088

Accessibility & contrast

On white

2.49
#BCA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#BCA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA331
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA331#FFFFFF#000000##000000
##BCA3311.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bca331;
/* rgb */ color: rgb(188, 163, 49);
/* oklch */ color: oklch(71.8% 0.131 96.3);
Tailwind
colors: {
  custom: {
    50: '#d4bd71',
    500: '#bca331',
    950: '#000000',
  },
}
SCSS
$custom: #bca331;
$custom-light: #d4bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#bca331",
  "rgb": {
    "r": 188,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 49.209,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71763,
    "c": 0.13111,
    "h": 96.3
  },
  "luminance": 0.37108
}

Semantic roles & 50–950 ramp

primary
#BCA331
secondary
#7F8DCA
accent
#62E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA331

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

Preview Lab → · Contrast checker → · Palette generator →

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