#BCD040#BCD040

#BCD040 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.7% C 0.165 H 117.1°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#BCD040
RGBrgb(188, 208, 64)
HSLhsl(68, 61%, 53%)
HSVhsv(68, 69%, 82%)
CMYKcmyk(9.6%, 0%, 69.2%, 18.4%)
CIE-LABlab(79.71, -25.12, 65.63)
CIE-LCHlch(79.71, 70.27, 110.94°)
OKLaboklab(81.65% -0.075 0.1468)
OKLCHoklch(81.65% 0.165 117.1)
XYZxyz(44.2213, 56.1738, 13.3626)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCD040 #5440D0
analogous
#D09C40 #BCD040 #74D040
triadic
#BCD040 #40BCD0 #D040BC
tetradic
#BCD040 #40D09C #5440D0 #D04074
square
#BCD040 #40D09C #5440D0 #D04074
split-complementary
#BCD040 #4074D0 #9C40D0
monochromatic
#6B781E #97A92A #BCD040 #CDDC71 #DEE8A2

Accessibility & contrast

On white

1.72
#BCD040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#BCD040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCD040
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCD040#FFFFFF#000000##000000
##BCD0401.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC528
Deuteranopia (green-blind)
#DCC64B
Tritanopia (blue-blind)
#C7C5B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bcd040;
/* rgb */ color: rgb(188, 208, 64);
/* oklch */ color: oklch(81.7% 0.165 117.1);
Tailwind
colors: {
  custom: {
    50: '#d3de7d',
    500: '#bcd040',
    950: '#000000',
  },
}
SCSS
$custom: #bcd040;
$custom-light: #d3de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bcd040",
  "rgb": {
    "r": 188,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 68.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8165,
    "c": 0.16484,
    "h": 117.1
  },
  "luminance": 0.56173
}

Semantic roles & 50–950 ramp

primary
#BCD040
secondary
#3F3480
accent
#44E45A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BCD040

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

Preview Lab → · Contrast checker → · Palette generator →

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