#BBC542#BBC542

#BBC542 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.1% C 0.152 H 113.6°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#BBC542
RGBrgb(187, 197, 66)
HSLhsl(65, 53%, 52%)
HSVhsv(65, 66%, 77%)
CMYKcmyk(5.1%, 0%, 66.5%, 22.7%)
CIE-LABlab(76.61, -20.04, 61.72)
CIE-LCHlch(76.61, 64.89, 107.99°)
OKLaboklab(79.15% -0.0606 0.1389)
OKLCHoklch(79.15% 0.152 113.6)
XYZxyz(41.4443, 50.8915, 12.7930)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC542 #4C42C5
analogous
#C58E42 #BBC542 #7AC542
triadic
#BBC542 #42BBC5 #C542BB
tetradic
#BBC542 #42C58E #4C42C5 #C5427A
square
#BBC542 #42C58E #4C42C5 #C5427A
split-complementary
#BBC542 #427AC5 #8E42C5
monochromatic
#666C21 #929A2F #BBC542 #CCD371 #DDE2A0

Accessibility & contrast

On white

1.88
#BBC542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#BBC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC542
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC542#FFFFFF#000000##000000
##BBC5421.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#D3BE4B
Tritanopia (blue-blind)
#C7BAAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bbc542;
/* rgb */ color: rgb(187, 197, 66);
/* oklch */ color: oklch(79.1% 0.152 113.6);
Tailwind
colors: {
  custom: {
    50: '#d3d67e',
    500: '#bbc542',
    950: '#000000',
  },
}
SCSS
$custom: #bbc542;
$custom-light: #d3d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc542",
  "rgb": {
    "r": 187,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 64.58,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79149,
    "c": 0.15155,
    "h": 113.6
  },
  "luminance": 0.50891
}

Semantic roles & 50–950 ramp

primary
#BBC542
secondary
#3B3675
accent
#4BDC56
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BBC542

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

Preview Lab → · Contrast checker → · Palette generator →

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