#BCCB42#BCCB42

#BCCB42 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.6% C 0.158 H 115.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#BCCB42
RGBrgb(188, 203, 66)
HSLhsl(67, 57%, 53%)
HSVhsv(67, 67%, 80%)
CMYKcmyk(7.4%, 0%, 67.5%, 20.4%)
CIE-LABlab(78.34, -22.58, 63.51)
CIE-LCHlch(78.34, 67.40, 109.57°)
OKLaboklab(80.55% -0.0678 0.1426)
OKLCHoklch(80.55% 0.158 115.4)
XYZxyz(43.0794, 53.7973, 13.2677)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCCB42 #5142CB
analogous
#CB9542 #BCCB42 #78CB42
triadic
#BCCB42 #42BCCB #CB42BC
tetradic
#BCCB42 #42CB95 #5142CB #CB4278
square
#BCCB42 #42CB95 #5142CB #CB4278
split-complementary
#BCCB42 #4278CB #9542CB
monochromatic
#6A7320 #96A32D #BCCB42 #CDD872 #DEE5A2

Accessibility & contrast

On white

1.79
#BCCB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#BCCB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCCB42
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCCB42#FFFFFF#000000##000000
##BCCB421.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#C8C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bccb42;
/* rgb */ color: rgb(188, 203, 66);
/* oklch */ color: oklch(80.6% 0.158 115.4);
Tailwind
colors: {
  custom: {
    50: '#d3da7e',
    500: '#bccb42',
    950: '#000000',
  },
}
SCSS
$custom: #bccb42;
$custom-light: #d3da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bccb42",
  "rgb": {
    "r": 188,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 66.569,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80555,
    "c": 0.15791,
    "h": 115.4
  },
  "luminance": 0.53797
}

Semantic roles & 50–950 ramp

primary
#BCCB42
secondary
#3D357C
accent
#48E058
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BCCB42

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

Preview Lab → · Contrast checker → · Palette generator →

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