#BCC838#BCC838

#BCC838 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.8% C 0.161 H 114.2°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#BCC838
RGBrgb(188, 200, 56)
HSLhsl(65, 57%, 50%)
HSVhsv(65, 72%, 78%)
CMYKcmyk(6%, 0%, 72%, 21.6%)
CIE-LABlab(77.45, -21.64, 66.27)
CIE-LCHlch(77.45, 69.72, 108.09°)
OKLaboklab(79.82% -0.0661 0.1468)
OKLCHoklch(79.82% 0.161 114.2)
XYZxyz(42.1083, 52.2862, 11.6147)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC838 #4438C8
analogous
#C88C38 #BCC838 #74C838
triadic
#BCC838 #38BCC8 #C838BC
tetradic
#BCC838 #38C88C #4438C8 #C83874
square
#BCC838 #38C88C #4438C8 #C83874
split-complementary
#BCC838 #3874C8 #8C38C8
monochromatic
#62691D #8F992A #BCC838 #CCD568 #DCE398

Accessibility & contrast

On white

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

On black

11.46
#BCC838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC838
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC838#FFFFFF#000000##000000
##BCC8381.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1C
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#C8BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bcc838;
/* rgb */ color: rgb(188, 200, 56);
/* oklch */ color: oklch(79.8% 0.161 114.2);
Tailwind
colors: {
  custom: {
    50: '#d4d879',
    500: '#bcc838',
    950: '#000000',
  },
}
SCSS
$custom: #bcc838;
$custom-light: #d4d879;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc838",
  "rgb": {
    "r": 188,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 65,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79819,
    "c": 0.16101,
    "h": 114.2
  },
  "luminance": 0.52285
}

Semantic roles & 50–950 ramp

primary
#BCC838
secondary
#373273
accent
#48E055
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCC838

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

Preview Lab → · Contrast checker → · Palette generator →

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