#BCA12D#BCA12D

#BCA12D is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.132 H 95.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#BCA12D
RGBrgb(188, 161, 45)
HSLhsl(49, 61%, 46%)
HSVhsv(49, 76%, 74%)
CMYKcmyk(0%, 14.4%, 76.1%, 26.3%)
CIE-LABlab(66.80, -2.12, 60.01)
CIE-LCHlch(66.80, 60.05, 92.02°)
OKLaboklab(71.32% -0.0123 0.1315)
OKLCHoklch(71.32% 0.132 95.3)
XYZxyz(33.9594, 36.3725, 7.7140)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA12D #2D48BC
analogous
#BC592D #BCA12D #8FBC2D
triadic
#BCA12D #2DBCA1 #A12DBC
tetradic
#BCA12D #2DBC59 #2D48BC #BC2D8F
square
#BCA12D #2DBC59 #2D48BC #BC2D8F
split-complementary
#BCA12D #2D8FBC #592DBC
monochromatic
#594C15 #8B7721 #BCA12D #D5BC51 #E1CF82

Accessibility & contrast

On white

2.54
#BCA12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#BCA12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA12D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA12D#FFFFFF#000000##000000
##BCA12D1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E17
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#CB948B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bca12d;
/* rgb */ color: rgb(188, 161, 45);
/* oklch */ color: oklch(71.3% 0.132 95.3);
Tailwind
colors: {
  custom: {
    50: '#d4bc6f',
    500: '#bca12d',
    950: '#000000',
  },
}
SCSS
$custom: #bca12d;
$custom-light: #d4bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bca12d",
  "rgb": {
    "r": 188,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 48.671,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71316,
    "c": 0.13209,
    "h": 95.3
  },
  "luminance": 0.36371
}

Semantic roles & 50–950 ramp

primary
#BCA12D
secondary
#7B8ACA
accent
#62E443
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BCA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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