#BCC340#BCC340

#BCC340 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.8% C 0.151 H 112.4°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#BCC340
RGBrgb(188, 195, 64)
HSLhsl(63, 52%, 51%)
HSVhsv(63, 67%, 76%)
CMYKcmyk(3.6%, 0%, 67.2%, 23.5%)
CIE-LABlab(76.13, -18.75, 62.03)
CIE-LCHlch(76.13, 64.80, 106.82°)
OKLaboklab(78.77% -0.0572 0.1392)
OKLCHoklch(78.77% 0.151 112.4)
XYZxyz(41.1808, 50.0927, 12.3490)
Luminance0.5009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC340 #4740C3
analogous
#C38840 #BCC340 #7AC340
triadic
#BCC340 #40BCC3 #C340BC
tetradic
#BCC340 #40C388 #4740C3 #C3407A
square
#BCC340 #40C388 #4740C3 #C3407A
split-complementary
#BCC340 #407AC3 #8840C3
monochromatic
#646821 #91972F #BCC340 #CCD26F #DDE09D

Accessibility & contrast

On white

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

On black

11.02
#BCC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC340
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC340#FFFFFF#000000##000000
##BCC3401.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2D
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#C8B7A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bcc340;
/* rgb */ color: rgb(188, 195, 64);
/* oklch */ color: oklch(78.8% 0.151 112.4);
Tailwind
colors: {
  custom: {
    50: '#d3d57c',
    500: '#bcc340',
    950: '#000000',
  },
}
SCSS
$custom: #bcc340;
$custom-light: #d3d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc340",
  "rgb": {
    "r": 188,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 63.206,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78774,
    "c": 0.15051,
    "h": 112.4
  },
  "luminance": 0.50092
}

Semantic roles & 50–950 ramp

primary
#BCC340
secondary
#383572
accent
#4CDC54
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCC340

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

Preview Lab → · Contrast checker → · Palette generator →

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