#BCA22C#BCA22C

#BCA22C is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.133 H 96.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#BCA22C
RGBrgb(188, 162, 44)
HSLhsl(49, 62%, 45%)
HSVhsv(49, 77%, 74%)
CMYKcmyk(0%, 13.8%, 76.6%, 26.3%)
CIE-LABlab(67.06, -2.69, 60.61)
CIE-LCHlch(67.06, 60.66, 92.54°)
OKLaboklab(71.52% -0.014 0.1326)
OKLCHoklch(71.52% 0.133 96)
XYZxyz(34.1158, 36.7158, 7.6723)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA22C #2C46BC
analogous
#BC5A2C #BCA22C #8EBC2C
triadic
#BCA22C #2CBCA2 #A22CBC
tetradic
#BCA22C #2CBC5A #2C46BC #BC2C8E
square
#BCA22C #2CBC5A #2C46BC #BC2C8E
split-complementary
#BCA22C #2C8EBC #5A2CBC
monochromatic
#594D15 #8A7720 #BCA22C #D6BE4F #E1D081

Accessibility & contrast

On white

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

On black

8.34
#BCA22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA22C
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA22C#FFFFFF#000000##000000
##BCA22C1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E14
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#CB958B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bca22c;
/* rgb */ color: rgb(188, 162, 44);
/* oklch */ color: oklch(71.5% 0.133 96.0);
Tailwind
colors: {
  custom: {
    50: '#d4bd6e',
    500: '#bca22c',
    950: '#000000',
  },
}
SCSS
$custom: #bca22c;
$custom-light: #d4bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bca22c",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 49.167,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7152,
    "c": 0.13334,
    "h": 96
  },
  "luminance": 0.36714
}

Semantic roles & 50–950 ramp

primary
#BCA22C
secondary
#7988CA
accent
#60E543
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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