#BCCC40#BCCC40

#BCCC40 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.8% C 0.160 H 115.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#BCCC40
RGBrgb(188, 204, 64)
HSLhsl(67, 58%, 53%)
HSVhsv(67, 69%, 80%)
CMYKcmyk(7.8%, 0%, 68.6%, 20%)
CIE-LABlab(78.61, -23.18, 64.53)
CIE-LCHlch(78.61, 68.56, 109.76°)
OKLaboklab(80.76% -0.0696 0.1445)
OKLCHoklch(80.76% 0.16 115.7)
XYZxyz(43.2584, 54.2479, 13.0416)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCCC40 #5040CC
analogous
#CC9640 #BCCC40 #76CC40
triadic
#BCCC40 #40BCCC #CC40BC
tetradic
#BCCC40 #40CC96 #5040CC #CC4076
square
#BCCC40 #40CC96 #5040CC #CC4076
split-complementary
#BCCC40 #4076CC #9640CC
monochromatic
#69731F #96A32C #BCCC40 #CDD970 #DEE6A1

Accessibility & contrast

On white

1.77
#BCCC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#BCCC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCCC40
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCCC40#FFFFFF#000000##000000
##BCCC401.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#C8C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bccc40;
/* rgb */ color: rgb(188, 204, 64);
/* oklch */ color: oklch(80.8% 0.160 115.7);
Tailwind
colors: {
  custom: {
    50: '#d3db7d',
    500: '#bccc40',
    950: '#000000',
  },
}
SCSS
$custom: #bccc40;
$custom-light: #d3db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bccc40",
  "rgb": {
    "r": 188,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 66.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80761,
    "c": 0.16037,
    "h": 115.7
  },
  "luminance": 0.54247
}

Semantic roles & 50–950 ramp

primary
#BCCC40
secondary
#3D347C
accent
#47E158
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BCCC40

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

Preview Lab → · Contrast checker → · Palette generator →

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