#BCCB40#BCCB40

#BCCB40 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.5% C 0.159 H 115.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#BCCB40
RGBrgb(188, 203, 64)
HSLhsl(66, 57%, 52%)
HSVhsv(66, 68%, 80%)
CMYKcmyk(7.4%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.33, -22.69, 64.25)
CIE-LCHlch(78.33, 68.14, 109.45°)
OKLaboklab(80.54% -0.0683 0.1439)
OKLCHoklch(80.54% 0.159 115.4)
XYZxyz(43.0215, 53.7741, 12.9626)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCCB40 #4F40CB
analogous
#CB9540 #BCCB40 #76CB40
triadic
#BCCB40 #40BCCB #CB40BC
tetradic
#BCCB40 #40CB95 #4F40CB #CB4076
square
#BCCB40 #40CB95 #4F40CB #CB4076
split-complementary
#BCCB40 #4076CB #9540CB
monochromatic
#69721F #95A22C #BCCB40 #CDD870 #DEE5A0

Accessibility & contrast

On white

1.79
#BCCB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#BCCB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCCB40
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCCB40#FFFFFF#000000##000000
##BCCB401.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#C8BFAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bccb40;
/* rgb */ color: rgb(188, 203, 64);
/* oklch */ color: oklch(80.5% 0.159 115.4);
Tailwind
colors: {
  custom: {
    50: '#d3da7d',
    500: '#bccb40',
    950: '#000000',
  },
}
SCSS
$custom: #bccb40;
$custom-light: #d3da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bccb40",
  "rgb": {
    "r": 188,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 66.475,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8054,
    "c": 0.15926,
    "h": 115.4
  },
  "luminance": 0.53773
}

Semantic roles & 50–950 ramp

primary
#BCCB40
secondary
#3C357B
accent
#47E058
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCCB40

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

Preview Lab → · Contrast checker → · Palette generator →

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