#BCA222#BCA222

#BCA222 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.5% C 0.138 H 96.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#BCA222
RGBrgb(188, 162, 34)
HSLhsl(50, 69%, 44%)
HSVhsv(50, 82%, 74%)
CMYKcmyk(0%, 13.8%, 81.9%, 26.3%)
CIE-LABlab(67.01, -3.05, 63.78)
CIE-LCHlch(67.01, 63.85, 92.74°)
OKLaboklab(71.46% -0.0159 0.1374)
OKLCHoklch(71.46% 0.138 96.6)
XYZxyz(33.9500, 36.6494, 6.7989)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA222 #223CBC
analogous
#BC5522 #BCA222 #89BC22
triadic
#BCA222 #22BCA2 #A222BC
tetradic
#BCA222 #22BC55 #223CBC #BC2289
square
#BCA222 #22BC55 #223CBC #BC2289
split-complementary
#BCA222 #2289BC #5522BC
monochromatic
#54490F #887519 #BCA222 #DCC23F #E6D273

Accessibility & contrast

On white

2.52
#BCA222 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#BCA222 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA222
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA222#FFFFFF#000000##000000
##BCA2221.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#BAA72C
Tritanopia (blue-blind)
#CC958B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bca222;
/* rgb */ color: rgb(188, 162, 34);
/* oklch */ color: oklch(71.5% 0.138 96.6);
Tailwind
colors: {
  custom: {
    50: '#d5bd6a',
    500: '#bca222',
    950: '#000000',
  },
}
SCSS
$custom: #bca222;
$custom-light: #d5bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#bca222",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 34
  },
  "hsl": {
    "h": 49.87,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71464,
    "c": 0.13831,
    "h": 96.6
  },
  "luminance": 0.36648
}

Semantic roles & 50–950 ramp

primary
#BCA222
secondary
#6D7DCD
accent
#59EC3C
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BCA222

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

Preview Lab → · Contrast checker → · Palette generator →

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