#BCC842#BCC842

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

Color values

HEX#BCC842
RGBrgb(188, 200, 66)
HSLhsl(65, 55%, 52%)
HSVhsv(65, 67%, 78%)
CMYKcmyk(6%, 0%, 67%, 21.6%)
CIE-LABlab(77.52, -21.11, 62.67)
CIE-LCHlch(77.52, 66.13, 108.62°)
OKLaboklab(79.89% -0.0637 0.1409)
OKLCHoklch(79.89% 0.155 114.3)
XYZxyz(42.3778, 52.3940, 13.0339)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC842 #4E42C8
analogous
#C89142 #BCC842 #79C842
triadic
#BCC842 #42BCC8 #C842BC
tetradic
#BCC842 #42C891 #4E42C8 #C84279
square
#BCC842 #42C891 #4E42C8 #C84279
split-complementary
#BCC842 #4279C8 #9142C8
monochromatic
#686F20 #959F2E #BCC842 #CDD671 #DEE4A1

Accessibility & contrast

On white

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

On black

11.48
#BCC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC842
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC842#FFFFFF#000000##000000
##BCC8421.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#C8BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bcc842;
/* rgb */ color: rgb(188, 200, 66);
/* oklch */ color: oklch(79.9% 0.155 114.3);
Tailwind
colors: {
  custom: {
    50: '#d3d87e',
    500: '#bcc842',
    950: '#000000',
  },
}
SCSS
$custom: #bcc842;
$custom-light: #d3d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc842",
  "rgb": {
    "r": 188,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 65.373,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79891,
    "c": 0.15458,
    "h": 114.3
  },
  "luminance": 0.52393
}

Semantic roles & 50–950 ramp

primary
#BCC842
secondary
#3C3679
accent
#4ADE57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCC842

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

Preview Lab → · Contrast checker → · Palette generator →

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