#BCA42A#BCA42A

#BCA42A is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.136 H 97.4°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#BCA42A
RGBrgb(188, 164, 42)
HSLhsl(50, 63%, 45%)
HSVhsv(50, 78%, 74%)
CMYKcmyk(0%, 12.8%, 77.7%, 26.3%)
CIE-LABlab(67.58, -3.84, 61.77)
CIE-LCHlch(67.58, 61.89, 93.55°)
OKLaboklab(71.93% -0.0174 0.1347)
OKLCHoklch(71.93% 0.136 97.4)
XYZxyz(34.4342, 37.4113, 7.5974)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA42A #2A42BC
analogous
#BC5B2A #BCA42A #8BBC2A
triadic
#BCA42A #2ABCA4 #A42ABC
tetradic
#BCA42A #2ABC5B #2A42BC #BC2A8B
square
#BCA42A #2ABC5B #2A42BC #BC2A8B
split-complementary
#BCA42A #2A8BBC #5B2ABC
monochromatic
#584D14 #8A781F #BCA42A #D7C04C #E2D27E

Accessibility & contrast

On white

2.48
#BCA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#BCA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA42A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA42A#FFFFFF#000000##000000
##BCA42A1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00E
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#CB978D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bca42a;
/* rgb */ color: rgb(188, 164, 42);
/* oklch */ color: oklch(71.9% 0.136 97.4);
Tailwind
colors: {
  custom: {
    50: '#d4be6e',
    500: '#bca42a',
    950: '#000000',
  },
}
SCSS
$custom: #bca42a;
$custom-light: #d4be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bca42a",
  "rgb": {
    "r": 188,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 50.137,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71929,
    "c": 0.13581,
    "h": 97.4
  },
  "luminance": 0.37409
}

Semantic roles & 50–950 ramp

primary
#BCA42A
secondary
#7785CB
accent
#5CE741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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