#BCA22B#BCA22B

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

Color values

HEX#BCA22B
RGBrgb(188, 162, 43)
HSLhsl(49, 63%, 45%)
HSVhsv(49, 77%, 74%)
CMYKcmyk(0%, 13.8%, 77.1%, 26.3%)
CIE-LABlab(67.06, -2.73, 60.95)
CIE-LCHlch(67.06, 61.01, 92.57°)
OKLaboklab(71.51% -0.0142 0.1331)
OKLCHoklch(71.51% 0.134 96.1)
XYZxyz(34.0972, 36.7083, 7.5745)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA22B #2B45BC
analogous
#BC592B #BCA22B #8EBC2B
triadic
#BCA22B #2BBCA2 #A22BBC
tetradic
#BCA22B #2BBC59 #2B45BC #BC2B8E
square
#BCA22B #2BBC59 #2B45BC #BC2B8E
split-complementary
#BCA22B #2B8EBC #592BBC
monochromatic
#584C14 #8A7720 #BCA22B #D6BE4E #E2D080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BCA22B#FFFFFF#000000##000000
##BCA22B1.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)
#B39E12
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#CB958B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bca22b;
/* rgb */ color: rgb(188, 162, 43);
/* oklch */ color: oklch(71.5% 0.134 96.1);
Tailwind
colors: {
  custom: {
    50: '#d4bd6e',
    500: '#bca22b',
    950: '#000000',
  },
}
SCSS
$custom: #bca22b;
$custom-light: #d4bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bca22b",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 49.241,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71514,
    "c": 0.13389,
    "h": 96.1
  },
  "luminance": 0.36706
}

Semantic roles & 50–950 ramp

primary
#BCA22B
secondary
#7887CB
accent
#5FE642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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