#BCC331#BCC331

#BCC331 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.7% C 0.160 H 112.3°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#BCC331
RGBrgb(188, 195, 49)
HSLhsl(63, 60%, 48%)
HSVhsv(63, 75%, 76%)
CMYKcmyk(3.6%, 0%, 74.9%, 23.5%)
CIE-LABlab(76.04, -19.50, 67.27)
CIE-LCHlch(76.04, 70.04, 106.16°)
OKLaboklab(78.67% -0.0607 0.1477)
OKLCHoklch(78.67% 0.16 112.3)
XYZxyz(40.8099, 49.9443, 10.3956)
Luminance0.4994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC331 #3831C3
analogous
#C38131 #BCC331 #73C331
triadic
#BCC331 #31BCC3 #C331BC
tetradic
#BCC331 #31C381 #3831C3 #C33173
square
#BCC331 #31C381 #3831C3 #C33173
split-complementary
#BCC331 #3173C3 #8131C3
monochromatic
#5E6118 #8D9225 #BCC331 #D0D65B #DEE28C

Accessibility & contrast

On white

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

On black

10.99
#BCC331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC331
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC331#FFFFFF#000000##000000
##BCC3311.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0D
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#C9B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bcc331;
/* rgb */ color: rgb(188, 195, 49);
/* oklch */ color: oklch(78.7% 0.160 112.3);
Tailwind
colors: {
  custom: {
    50: '#d4d475',
    500: '#bcc331',
    950: '#000000',
  },
}
SCSS
$custom: #bcc331;
$custom-light: #d4d475;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc331",
  "rgb": {
    "r": 188,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 62.877,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78672,
    "c": 0.15972,
    "h": 112.3
  },
  "luminance": 0.49943
}

Semantic roles & 50–950 ramp

primary
#BCC331
secondary
#8783CC
accent
#45E34C
background
#FDFDF7
surface
#FBFAED
border
#D4D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #BCC331

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

Preview Lab → · Contrast checker → · Palette generator →

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