#BCAB38#BCAB38

#BCAB38 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.133 H 100.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#BCAB38
RGBrgb(188, 171, 56)
HSLhsl(52, 54%, 48%)
HSVhsv(52, 70%, 74%)
CMYKcmyk(0%, 9%, 70.2%, 26.3%)
CIE-LABlab(69.54, -6.90, 58.52)
CIE-LCHlch(69.54, 58.93, 96.73°)
OKLaboklab(73.51% -0.0247 0.1305)
OKLCHoklch(73.51% 0.133 100.7)
XYZxyz(36.0174, 40.1043, 9.5843)
Luminance0.4010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAB38 #3849BC
analogous
#BC6938 #BCAB38 #8BBC38
triadic
#BCAB38 #38BCAB #AB38BC
tetradic
#BCAB38 #38BC69 #3849BC #BC388B
square
#BCAB38 #38BC69 #3849BC #BC388B
split-complementary
#BCAB38 #388BBC #6938BC
monochromatic
#5E551C #8D802A #BCAB38 #D0C261 #DED490

Accessibility & contrast

On white

2.33
#BCAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#BCAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAB38
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAB38#FFFFFF#000000##000000
##BCAB381.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA627
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#CA9F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bcab38;
/* rgb */ color: rgb(188, 171, 56);
/* oklch */ color: oklch(73.5% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#d4c376',
    500: '#bcab38',
    950: '#000000',
  },
}
SCSS
$custom: #bcab38;
$custom-light: #d4c376;
$custom-dark: #000000;
JSON
{
  "hex": "#bcab38",
  "rgb": {
    "r": 188,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 52.273,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7351,
    "c": 0.13278,
    "h": 100.7
  },
  "luminance": 0.40103
}

Semantic roles & 50–950 ramp

primary
#BCAB38
secondary
#878FC9
accent
#5DDD4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BCAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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