#BCAE21#BCAE21

#BCAE21 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.0% C 0.148 H 103.3°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#BCAE21
RGBrgb(188, 174, 33)
HSLhsl(55, 70%, 43%)
HSVhsv(55, 82%, 74%)
CMYKcmyk(0%, 7.4%, 82.4%, 26.3%)
CIE-LABlab(70.23, -9.40, 66.82)
CIE-LCHlch(70.23, 67.48, 98.01°)
OKLaboklab(74.01% -0.0339 0.1438)
OKLCHoklch(74.01% 0.148 103.3)
XYZxyz(36.1513, 41.0749, 7.4626)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAE21 #212FBC
analogous
#BC6121 #BCAE21 #7CBC21
triadic
#BCAE21 #21BCAE #AE21BC
tetradic
#BCAE21 #21BC61 #212FBC #BC217C
square
#BCAE21 #21BC61 #212FBC #BC217C
split-complementary
#BCAE21 #217CBC #6121BC
monochromatic
#544E0F #887E18 #BCAE21 #DDCF3D #E6DC71

Accessibility & contrast

On white

2.28
#BCAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#BCAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAE21
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAE21#FFFFFF#000000##000000
##BCAE211.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C3AF2E
Tritanopia (blue-blind)
#CBA195
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bcae21;
/* rgb */ color: rgb(188, 174, 33);
/* oklch */ color: oklch(74.0% 0.148 103.3);
Tailwind
colors: {
  custom: {
    50: '#d4c56b',
    500: '#bcae21',
    950: '#000000',
  },
}
SCSS
$custom: #bcae21;
$custom-light: #d4c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcae21",
  "rgb": {
    "r": 188,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 54.581,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74014,
    "c": 0.14774,
    "h": 103.3
  },
  "luminance": 0.41073
}

Semantic roles & 50–950 ramp

primary
#BCAE21
secondary
#6C75CD
accent
#4BED3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BCAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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