#BBD042#BBD042

#BBD042 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.6% C 0.164 H 117.5°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#BBD042
RGBrgb(187, 208, 66)
HSLhsl(69, 60%, 54%)
HSVhsv(69, 68%, 82%)
CMYKcmyk(10.1%, 0%, 68.3%, 18.4%)
CIE-LABlab(79.65, -25.41, 64.81)
CIE-LCHlch(79.65, 69.61, 111.41°)
OKLaboklab(81.59% -0.0756 0.1454)
OKLCHoklch(81.59% 0.164 117.5)
XYZxyz(44.0337, 56.0704, 13.6562)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBD042 #5742D0
analogous
#D09E42 #BBD042 #74D042
triadic
#BBD042 #42BBD0 #D042BB
tetradic
#BBD042 #42D09E #5742D0 #D04274
square
#BBD042 #42D09E #5742D0 #D04274
split-complementary
#BBD042 #4274D0 #9E42D0
monochromatic
#6C791E #97AA2A #BBD042 #CDDC73 #DEE8A4

Accessibility & contrast

On white

1.72
#BBD042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#BBD042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBD042
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBD042#FFFFFF#000000##000000
##BBD0421.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52C
Deuteranopia (green-blind)
#DCC64D
Tritanopia (blue-blind)
#C6C5B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #bbd042;
/* rgb */ color: rgb(187, 208, 66);
/* oklch */ color: oklch(81.6% 0.164 117.5);
Tailwind
colors: {
  custom: {
    50: '#d3de7f',
    500: '#bbd042',
    950: '#000000',
  },
}
SCSS
$custom: #bbd042;
$custom-light: #d3de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbd042",
  "rgb": {
    "r": 187,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 68.873,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81589,
    "c": 0.16387,
    "h": 117.5
  },
  "luminance": 0.5607
}

Semantic roles & 50–950 ramp

primary
#BBD042
secondary
#403581
accent
#44E35C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #BBD042

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

Preview Lab → · Contrast checker → · Palette generator →

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