#BCA42D#BCA42D

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

Color values

HEX#BCA42D
RGBrgb(188, 164, 45)
HSLhsl(50, 61%, 46%)
HSVhsv(50, 76%, 74%)
CMYKcmyk(0%, 12.8%, 76.1%, 26.3%)
CIE-LABlab(67.60, -3.72, 60.76)
CIE-LCHlch(67.60, 60.87, 93.50°)
OKLaboklab(71.95% -0.0168 0.1331)
OKLCHoklch(71.95% 0.134 97.2)
XYZxyz(34.4899, 37.4336, 7.8908)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA42D #2D45BC
analogous
#BC5C2D #BCA42D #8CBC2D
triadic
#BCA42D #2DBCA4 #A42DBC
tetradic
#BCA42D #2DBC5C #2D45BC #BC2D8C
square
#BCA42D #2DBC5C #2D45BC #BC2D8C
split-complementary
#BCA42D #2D8CBC #5C2DBC
monochromatic
#594E15 #8B7921 #BCA42D #D5BF51 #E1D182

Accessibility & contrast

On white

2.47
#BCA42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#BCA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA42D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA42D#FFFFFF#000000##000000
##BCA42D1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bca42d;
/* rgb */ color: rgb(188, 164, 45);
/* oklch */ color: oklch(71.9% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#d4be6f',
    500: '#bca42d',
    950: '#000000',
  },
}
SCSS
$custom: #bca42d;
$custom-light: #d4be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bca42d",
  "rgb": {
    "r": 188,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 49.93,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71947,
    "c": 0.13418,
    "h": 97.2
  },
  "luminance": 0.37432
}

Semantic roles & 50–950 ramp

primary
#BCA42D
secondary
#7B88CA
accent
#5EE443
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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