#BCC126#BCC126

#BCC126 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.2% C 0.163 H 111.6°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#BCC126
RGBrgb(188, 193, 38)
HSLhsl(62, 67%, 45%)
HSVhsv(62, 80%, 76%)
CMYKcmyk(2.6%, 0%, 80.3%, 24.3%)
CIE-LABlab(75.43, -18.92, 69.98)
CIE-LCHlch(75.43, 72.49, 105.13°)
OKLaboklab(78.18% -0.06 0.1515)
OKLCHoklch(78.18% 0.163 111.6)
XYZxyz(40.1603, 48.9723, 9.1704)
Luminance0.4897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCC126 #2B26C1
analogous
#C17826 #BCC126 #6FC126
triadic
#BCC126 #26BCC1 #C126BC
tetradic
#BCC126 #26C178 #2B26C1 #C1266F
square
#BCC126 #26C178 #2B26C1 #C1266F
split-complementary
#BCC126 #266FC1 #7826C1
monochromatic
#585B12 #8A8E1C #BCC126 #D6DB49 #E2E57C

Accessibility & contrast

On white

1.95
#BCC126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#BCC126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCC126
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCC126#FFFFFF#000000##000000
##BCC1261.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D1BC35
Tritanopia (blue-blind)
#C9B5A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bcc126;
/* rgb */ color: rgb(188, 193, 38);
/* oklch */ color: oklch(78.2% 0.163 111.6);
Tailwind
colors: {
  custom: {
    50: '#d4d370',
    500: '#bcc126',
    950: '#000000',
  },
}
SCSS
$custom: #bcc126;
$custom-light: #d4d370;
$custom-dark: #000000;
JSON
{
  "hex": "#bcc126",
  "rgb": {
    "r": 188,
    "g": 193,
    "b": 38
  },
  "hsl": {
    "h": 61.935,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.78175,
    "c": 0.16298,
    "h": 111.6
  },
  "luminance": 0.48971
}

Semantic roles & 50–950 ramp

primary
#BCC126
secondary
#7875CD
accent
#3EEA43
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BCC126

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

Preview Lab → · Contrast checker → · Palette generator →

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