#BBC942#BBC942

#BBC942 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.156 H 115.1°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#BBC942
RGBrgb(187, 201, 66)
HSLhsl(66, 56%, 52%)
HSVhsv(66, 67%, 79%)
CMYKcmyk(7%, 0%, 67.2%, 21.2%)
CIE-LABlab(77.72, -22.01, 62.85)
CIE-LCHlch(77.72, 66.59, 109.30°)
OKLaboklab(80.03% -0.0661 0.1413)
OKLCHoklch(80.03% 0.156 115.1)
XYZxyz(42.3646, 52.7321, 13.0998)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC942 #5042C9
analogous
#C99342 #BBC942 #78C942
triadic
#BBC942 #42BBC9 #C942BB
tetradic
#BBC942 #42C993 #5042C9 #C94278
square
#BBC942 #42C993 #5042C9 #C94278
split-complementary
#BBC942 #4278C9 #9342C9
monochromatic
#687020 #94A02E #BBC942 #CCD772 #DDE4A1

Accessibility & contrast

On white

1.82
#BBC942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#BBC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC942
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC942#FFFFFF#000000##000000
##BBC9421.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#C7BEAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bbc942;
/* rgb */ color: rgb(187, 201, 66);
/* oklch */ color: oklch(80.0% 0.156 115.1);
Tailwind
colors: {
  custom: {
    50: '#d3d97e',
    500: '#bbc942',
    950: '#000000',
  },
}
SCSS
$custom: #bbc942;
$custom-light: #d3d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc942",
  "rgb": {
    "r": 187,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 66.222,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80034,
    "c": 0.15598,
    "h": 115.1
  },
  "luminance": 0.52731
}

Semantic roles & 50–950 ramp

primary
#BBC942
secondary
#3D367A
accent
#49DF58
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BBC942

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

Preview Lab → · Contrast checker → · Palette generator →

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