#BCA41F#BCA41F

#BCA41F is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.141 H 97.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#BCA41F
RGBrgb(188, 164, 31)
HSLhsl(51, 72%, 43%)
HSVhsv(51, 84%, 74%)
CMYKcmyk(0%, 12.8%, 83.5%, 26.3%)
CIE-LABlab(67.53, -4.21, 65.07)
CIE-LCHlch(67.53, 65.20, 93.70°)
OKLaboklab(71.87% -0.0194 0.1396)
OKLCHoklch(71.87% 0.141 97.9)
XYZxyz(34.2637, 37.3431, 6.6992)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA41F #1F37BC
analogous
#BC551F #BCA41F #85BC1F
triadic
#BCA41F #1FBCA4 #A41FBC
tetradic
#BCA41F #1FBC55 #1F37BC #BC1F85
square
#BCA41F #1FBC55 #1F37BC #BC1F85
split-complementary
#BCA41F #1F85BC #551FBC
monochromatic
#53480E #877616 #BCA41F #DEC53A #E7D56E

Accessibility & contrast

On white

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

On black

8.47
#BCA41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA41F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA41F#FFFFFF#000000##000000
##BCA41F1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#BCA82A
Tritanopia (blue-blind)
#CB978C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bca41f;
/* rgb */ color: rgb(188, 164, 31);
/* oklch */ color: oklch(71.9% 0.141 97.9);
Tailwind
colors: {
  custom: {
    50: '#d5be69',
    500: '#bca41f',
    950: '#000000',
  },
}
SCSS
$custom: #bca41f;
$custom-light: #d5be69;
$custom-dark: #000000;
JSON
{
  "hex": "#bca41f",
  "rgb": {
    "r": 188,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 50.828,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71873,
    "c": 0.14094,
    "h": 97.9
  },
  "luminance": 0.37341
}

Semantic roles & 50–950 ramp

primary
#BCA41F
secondary
#6979CD
accent
#55EE39
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BCA41F

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

Preview Lab → · Contrast checker → · Palette generator →

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