#BCC540#BCC540

#BCC540 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.2% C 0.153 H 113.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#BCC540
RGBrgb(188, 197, 64)
HSLhsl(64, 53%, 51%)
HSVhsv(64, 68%, 77%)
CMYKcmyk(4.6%, 0%, 67.5%, 22.7%)
CIE-LABlab(76.68, -19.74, 62.58)
CIE-LCHlch(76.68, 65.62, 107.51°)
OKLaboklab(79.21% -0.06 0.1404)
OKLCHoklch(79.21% 0.153 113.2)
XYZxyz(41.6319, 50.9949, 12.4994)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC540 #4940C5
analogous
#C58B40 #BCC540 #79C540
triadic
#BCC540 #40BCC5 #C540BC
tetradic
#BCC540 #40C58B #4940C5 #C54079
square
#BCC540 #40C58B #4940C5 #C54079
split-complementary
#BCC540 #4079C5 #8B40C5
monochromatic
#656A20 #92992F #BCC540 #CCD36F #DDE29E

Accessibility & contrast

On white

1.88
#BCC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#BCC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC540
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC540#FFFFFF#000000##000000
##BCC5401.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2C
Deuteranopia (green-blind)
#D3BF4A
Tritanopia (blue-blind)
#C8B9AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bcc540;
/* rgb */ color: rgb(188, 197, 64);
/* oklch */ color: oklch(79.2% 0.153 113.2);
Tailwind
colors: {
  custom: {
    50: '#d3d67c',
    500: '#bcc540',
    950: '#000000',
  },
}
SCSS
$custom: #bcc540;
$custom-light: #d3d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc540",
  "rgb": {
    "r": 188,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 64.06,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79214,
    "c": 0.15267,
    "h": 113.2
  },
  "luminance": 0.50994
}

Semantic roles & 50–950 ramp

primary
#BCC540
secondary
#393574
accent
#4BDD55
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCC540

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

Preview Lab → · Contrast checker → · Palette generator →

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