#BCA538#BCA538

#BCA538 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.128 H 97.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#BCA538
RGBrgb(188, 165, 56)
HSLhsl(50, 54%, 48%)
HSVhsv(50, 70%, 74%)
CMYKcmyk(0%, 12.2%, 70.2%, 26.3%)
CIE-LABlab(67.94, -3.73, 56.91)
CIE-LCHlch(67.94, 57.03, 93.75°)
OKLaboklab(72.24% -0.0157 0.1271)
OKLCHoklch(72.24% 0.128 97)
XYZxyz(34.9097, 37.8889, 9.2151)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA538 #384FBC
analogous
#BC6338 #BCA538 #91BC38
triadic
#BCA538 #38BCA5 #A538BC
tetradic
#BCA538 #38BC63 #384FBC #BC3891
square
#BCA538 #38BC63 #384FBC #BC3891
split-complementary
#BCA538 #3891BC #6338BC
monochromatic
#5E521C #8D7C2A #BCA538 #D0BD61 #DED190

Accessibility & contrast

On white

2.45
#BCA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#BCA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA538
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA538#FFFFFF#000000##000000
##BCA5381.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A128
Deuteranopia (green-blind)
#BBA93E
Tritanopia (blue-blind)
#CB998F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bca538;
/* rgb */ color: rgb(188, 165, 56);
/* oklch */ color: oklch(72.2% 0.128 97.0);
Tailwind
colors: {
  custom: {
    50: '#d4bf75',
    500: '#bca538',
    950: '#000000',
  },
}
SCSS
$custom: #bca538;
$custom-light: #d4bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#bca538",
  "rgb": {
    "r": 188,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 49.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72237,
    "c": 0.12802,
    "h": 97
  },
  "luminance": 0.37887
}

Semantic roles & 50–950 ramp

primary
#BCA538
secondary
#8792C9
accent
#64DD4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BCA538

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

Preview Lab → · Contrast checker → · Palette generator →

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