#BCAC21#BCAC21

#BCAC21 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.6% C 0.146 H 102.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BCAC21
RGBrgb(188, 172, 33)
HSLhsl(54, 70%, 43%)
HSVhsv(54, 82%, 74%)
CMYKcmyk(0%, 8.5%, 82.4%, 26.3%)
CIE-LABlab(69.69, -8.36, 66.36)
CIE-LCHlch(69.69, 66.89, 97.18°)
OKLaboklab(73.58% -0.0309 0.1428)
OKLCHoklch(73.58% 0.146 102.2)
XYZxyz(35.7678, 40.3079, 7.3347)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAC21 #2131BC
analogous
#BC5E21 #BCAC21 #7FBC21
triadic
#BCAC21 #21BCAC #AC21BC
tetradic
#BCAC21 #21BC5E #2131BC #BC217F
square
#BCAC21 #21BC5E #2131BC #BC217F
split-complementary
#BCAC21 #217FBC #5E21BC
monochromatic
#544D0F #887C18 #BCAC21 #DDCC3D #E6DA71

Accessibility & contrast

On white

2.32
#BCAC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#BCAC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAC21
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAC21#FFFFFF#000000##000000
##BCAC211.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#C1AD2D
Tritanopia (blue-blind)
#CB9F93
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bcac21;
/* rgb */ color: rgb(188, 172, 33);
/* oklch */ color: oklch(73.6% 0.146 102.2);
Tailwind
colors: {
  custom: {
    50: '#d4c46b',
    500: '#bcac21',
    950: '#000000',
  },
}
SCSS
$custom: #bcac21;
$custom-light: #d4c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcac21",
  "rgb": {
    "r": 188,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 53.806,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73585,
    "c": 0.14612,
    "h": 102.2
  },
  "luminance": 0.40306
}

Semantic roles & 50–950 ramp

primary
#BCAC21
secondary
#6C76CD
accent
#4DED3B
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BCAC21

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

Preview Lab → · Contrast checker → · Palette generator →

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