#BCA231#BCA231

#BCA231 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.130 H 95.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BCA231
RGBrgb(188, 162, 49)
HSLhsl(49, 59%, 46%)
HSVhsv(49, 74%, 74%)
CMYKcmyk(0%, 13.8%, 73.9%, 26.3%)
CIE-LABlab(67.09, -2.48, 58.81)
CIE-LCHlch(67.09, 58.87, 92.41°)
OKLaboklab(71.55% -0.0129 0.1298)
OKLCHoklch(71.55% 0.13 95.7)
XYZxyz(34.2155, 36.7556, 8.1975)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA231 #314BBC
analogous
#BC5D31 #BCA231 #91BC31
triadic
#BCA231 #31BCA2 #A231BC
tetradic
#BCA231 #31BC5D #314BBC #BC3191
square
#BCA231 #31BC5D #314BBC #BC3191
split-complementary
#BCA231 #3191BC #5D31BC
monochromatic
#5B4E18 #8B7824 #BCA231 #D3BC57 #E0CF88

Accessibility & contrast

On white

2.51
#BCA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BCA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA231
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA231#FFFFFF#000000##000000
##BCA2311.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#CB958C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bca231;
/* rgb */ color: rgb(188, 162, 49);
/* oklch */ color: oklch(71.6% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#d4bd71',
    500: '#bca231',
    950: '#000000',
  },
}
SCSS
$custom: #bca231;
$custom-light: #d4bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#bca231",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 48.777,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71553,
    "c": 0.13042,
    "h": 95.7
  },
  "luminance": 0.36754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BCA231

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

Preview Lab → · Contrast checker → · Palette generator →

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