#BCC940#BCC940

#BCC940 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.1% C 0.157 H 114.7°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#BCC940
RGBrgb(188, 201, 64)
HSLhsl(66, 56%, 52%)
HSVhsv(66, 68%, 79%)
CMYKcmyk(6.5%, 0%, 68.2%, 21.2%)
CIE-LABlab(77.78, -21.71, 63.70)
CIE-LCHlch(77.78, 67.30, 108.83°)
OKLaboklab(80.1% -0.0655 0.1427)
OKLCHoklch(80.1% 0.157 114.7)
XYZxyz(42.5522, 52.8356, 12.8062)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC940 #4D40C9
analogous
#C99140 #BCC940 #78C940
triadic
#BCC940 #40BCC9 #C940BC
tetradic
#BCC940 #40C991 #4D40C9 #C94078
square
#BCC940 #40C991 #4D40C9 #C94078
split-complementary
#BCC940 #4078C9 #9140C9
monochromatic
#686F1F #949F2D #BCC940 #CDD670 #DDE49F

Accessibility & contrast

On white

1.82
#BCC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#BCC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC940
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC940#FFFFFF#000000##000000
##BCC9401.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C8BDAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bcc940;
/* rgb */ color: rgb(188, 201, 64);
/* oklch */ color: oklch(80.1% 0.157 114.7);
Tailwind
colors: {
  custom: {
    50: '#d3d97d',
    500: '#bcc940',
    950: '#000000',
  },
}
SCSS
$custom: #bcc940;
$custom-light: #d3d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc940",
  "rgb": {
    "r": 188,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 65.693,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80097,
    "c": 0.15704,
    "h": 114.7
  },
  "luminance": 0.52835
}

Semantic roles & 50–950 ramp

primary
#BCC940
secondary
#3B3578
accent
#49DF57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCC940

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

Preview Lab → · Contrast checker → · Palette generator →

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