#BCC840#BCC840

#BCC840 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.9% C 0.156 H 114.3°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#BCC840
RGBrgb(188, 200, 64)
HSLhsl(65, 55%, 52%)
HSVhsv(65, 68%, 78%)
CMYKcmyk(6%, 0%, 68%, 21.6%)
CIE-LABlab(77.50, -21.22, 63.42)
CIE-LCHlch(77.50, 66.88, 108.50°)
OKLaboklab(79.88% -0.0642 0.1421)
OKLCHoklch(79.88% 0.156 114.3)
XYZxyz(42.3199, 52.3709, 12.7287)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC840 #4C40C8
analogous
#C89040 #BCC840 #78C840
triadic
#BCC840 #40BCC8 #C840BC
tetradic
#BCC840 #40C890 #4C40C8 #C84078
square
#BCC840 #40C890 #4C40C8 #C84078
split-complementary
#BCC840 #4078C8 #9040C8
monochromatic
#676E20 #949D2D #BCC840 #CDD670 #DDE39F

Accessibility & contrast

On white

1.83
#BCC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#BCC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC840
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC840#FFFFFF#000000##000000
##BCC8401.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C8BCAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bcc840;
/* rgb */ color: rgb(188, 200, 64);
/* oklch */ color: oklch(79.9% 0.156 114.3);
Tailwind
colors: {
  custom: {
    50: '#d3d87d',
    500: '#bcc840',
    950: '#000000',
  },
}
SCSS
$custom: #bcc840;
$custom-light: #d3d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc840",
  "rgb": {
    "r": 188,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 65.294,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79876,
    "c": 0.15594,
    "h": 114.3
  },
  "luminance": 0.5237
}

Semantic roles & 50–950 ramp

primary
#BCC840
secondary
#3B3577
accent
#49DF56
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCC840

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

Preview Lab → · Contrast checker → · Palette generator →

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