#BCAB21#BCAB21

#BCAB21 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.145 H 101.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#BCAB21
RGBrgb(188, 171, 33)
HSLhsl(53, 70%, 43%)
HSVhsv(53, 82%, 74%)
CMYKcmyk(0%, 9%, 82.4%, 26.3%)
CIE-LABlab(69.42, -7.84, 66.13)
CIE-LCHlch(69.42, 66.59, 96.76°)
OKLaboklab(73.37% -0.0295 0.1423)
OKLCHoklch(73.37% 0.145 101.7)
XYZxyz(35.5782, 39.9287, 7.2715)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAB21 #2132BC
analogous
#BC5D21 #BCAB21 #7FBC21
triadic
#BCAB21 #21BCAB #AB21BC
tetradic
#BCAB21 #21BC5D #2132BC #BC217F
square
#BCAB21 #21BC5D #2132BC #BC217F
split-complementary
#BCAB21 #217FBC #5D21BC
monochromatic
#544C0F #887C18 #BCAB21 #DDCB3D #E6D971

Accessibility & contrast

On white

2.34
#BCAB21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#BCAB21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAB21
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAB21#FFFFFF#000000##000000
##BCAB211.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#C1AD2D
Tritanopia (blue-blind)
#CB9E92
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bcab21;
/* rgb */ color: rgb(188, 171, 33);
/* oklch */ color: oklch(73.4% 0.145 101.7);
Tailwind
colors: {
  custom: {
    50: '#d5c36b',
    500: '#bcab21',
    950: '#000000',
  },
}
SCSS
$custom: #bcab21;
$custom-light: #d5c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcab21",
  "rgb": {
    "r": 188,
    "g": 171,
    "b": 33
  },
  "hsl": {
    "h": 53.419,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73371,
    "c": 0.14532,
    "h": 101.7
  },
  "luminance": 0.39927
}

Semantic roles & 50–950 ramp

primary
#BCAB21
secondary
#6C77CD
accent
#4EED3B
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BCAB21

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

Preview Lab → · Contrast checker → · Palette generator →

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