#BCAF21#BCAF21

#BCAF21 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.149 H 103.8°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#BCAF21
RGBrgb(188, 175, 33)
HSLhsl(55, 70%, 43%)
HSVhsv(55, 82%, 74%)
CMYKcmyk(0%, 6.9%, 82.4%, 26.3%)
CIE-LABlab(70.50, -9.92, 67.05)
CIE-LCHlch(70.50, 67.78, 98.42°)
OKLaboklab(74.23% -0.0353 0.1443)
OKLCHoklch(74.23% 0.149 103.8)
XYZxyz(36.3452, 41.4627, 7.5272)
Luminance0.4146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF21 #212EBC
analogous
#BC6121 #BCAF21 #7BBC21
triadic
#BCAF21 #21BCAF #AF21BC
tetradic
#BCAF21 #21BC61 #212EBC #BC217B
square
#BCAF21 #21BC61 #212EBC #BC217B
split-complementary
#BCAF21 #217BBC #6121BC
monochromatic
#544E0F #887F18 #BCAF21 #DDD03D #E6DC71

Accessibility & contrast

On white

2.26
#BCAF21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#BCAF21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF21
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF21#FFFFFF#000000##000000
##BCAF211.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C4AF2E
Tritanopia (blue-blind)
#CBA296
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bcaf21;
/* rgb */ color: rgb(188, 175, 33);
/* oklch */ color: oklch(74.2% 0.149 103.8);
Tailwind
colors: {
  custom: {
    50: '#d4c66b',
    500: '#bcaf21',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf21;
$custom-light: #d4c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf21",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 33
  },
  "hsl": {
    "h": 54.968,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7423,
    "c": 0.14857,
    "h": 103.8
  },
  "luminance": 0.41461
}

Semantic roles & 50–950 ramp

primary
#BCAF21
secondary
#6C74CD
accent
#4AED3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BCAF21

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

Preview Lab → · Contrast checker → · Palette generator →

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