#BCC338#BCC338

#BCC338 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.7% C 0.156 H 112.4°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#BCC338
RGBrgb(188, 195, 56)
HSLhsl(63, 55%, 49%)
HSVhsv(63, 71%, 76%)
CMYKcmyk(3.6%, 0%, 71.3%, 23.5%)
CIE-LABlab(76.07, -19.18, 64.94)
CIE-LCHlch(76.07, 67.71, 106.45°)
OKLaboklab(78.72% -0.0592 0.144)
OKLCHoklch(78.72% 0.156 112.4)
XYZxyz(40.9692, 50.0081, 11.2350)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC338 #3F38C3
analogous
#C38538 #BCC338 #76C338
triadic
#BCC338 #38BCC3 #C338BC
tetradic
#BCC338 #38C385 #3F38C3 #C33876
square
#BCC338 #38C385 #3F38C3 #C33876
split-complementary
#BCC338 #3876C3 #8538C3
monochromatic
#60641D #8E932A #BCC338 #CDD365 #DDE195

Accessibility & contrast

On white

1.91
#BCC338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#BCC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC338
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC338#FFFFFF#000000##000000
##BCC3381.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1F
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#C9B7A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bcc338;
/* rgb */ color: rgb(188, 195, 56);
/* oklch */ color: oklch(78.7% 0.156 112.4);
Tailwind
colors: {
  custom: {
    50: '#d4d578',
    500: '#bcc338',
    950: '#000000',
  },
}
SCSS
$custom: #bcc338;
$custom-light: #d4d578;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc338",
  "rgb": {
    "r": 188,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 63.022,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78716,
    "c": 0.15571,
    "h": 112.4
  },
  "luminance": 0.50007
}

Semantic roles & 50–950 ramp

primary
#BCC338
secondary
#34316E
accent
#49DF51
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BCC338

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

Preview Lab → · Contrast checker → · Palette generator →

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