#BCA731#BCA731

#BCA731 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.134 H 98.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#BCA731
RGBrgb(188, 167, 49)
HSLhsl(51, 59%, 46%)
HSVhsv(51, 74%, 74%)
CMYKcmyk(0%, 11.2%, 73.9%, 26.3%)
CIE-LABlab(68.43, -5.13, 60.09)
CIE-LCHlch(68.43, 60.31, 94.88°)
OKLaboklab(72.61% -0.0204 0.1325)
OKLCHoklch(72.61% 0.134 98.8)
XYZxyz(35.1139, 38.5523, 8.4969)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA731 #3146BC
analogous
#BC6231 #BCA731 #8CBC31
triadic
#BCA731 #31BCA7 #A731BC
tetradic
#BCA731 #31BC62 #3146BC #BC318C
square
#BCA731 #31BC62 #3146BC #BC318C
split-complementary
#BCA731 #318CBC #6231BC
monochromatic
#5B5118 #8B7C24 #BCA731 #D3C057 #E0D388

Accessibility & contrast

On white

2.41
#BCA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#BCA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA731
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA731#FFFFFF#000000##000000
##BCA7311.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31C
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#CB9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bca731;
/* rgb */ color: rgb(188, 167, 49);
/* oklch */ color: oklch(72.6% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#d4c071',
    500: '#bca731',
    950: '#000000',
  },
}
SCSS
$custom: #bca731;
$custom-light: #d4c071;
$custom-dark: #000000;
JSON
{
  "hex": "#bca731",
  "rgb": {
    "r": 188,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 50.935,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72608,
    "c": 0.13405,
    "h": 98.8
  },
  "luminance": 0.38551
}

Semantic roles & 50–950 ramp

primary
#BCA731
secondary
#7F8ACA
accent
#5EE246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA731

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

Preview Lab → · Contrast checker → · Palette generator →

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