#BBD540#BBD540

#BBD540 is a very light, vivid yellow-green. Relative luminance 0.585; OKLCH L 82.7% C 0.171 H 119.0°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#BBD540
RGBrgb(187, 213, 64)
HSLhsl(70, 64%, 54%)
HSVhsv(70, 70%, 84%)
CMYKcmyk(12.2%, 0%, 70%, 16.5%)
CIE-LABlab(81.03, -27.91, 66.92)
CIE-LCHlch(81.03, 72.51, 112.64°)
OKLaboklab(82.69% -0.0827 0.1495)
OKLCHoklch(82.69% 0.171 119)
XYZxyz(45.2141, 58.5238, 13.7638)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBD540 #5A40D5
analogous
#D5A540 #BBD540 #71D540
triadic
#BBD540 #40BBD5 #D540BB
tetradic
#BBD540 #40D5A5 #5A40D5 #D54071
square
#BBD540 #40D5A5 #5A40D5 #D54071
split-complementary
#BBD540 #4071D5 #A540D5
monochromatic
#6D7F1C #99B127 #BBD540 #CDE072 #DFEBA4

Accessibility & contrast

On white

1.65
#BBD540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#BBD540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBD540
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBD540#FFFFFF#000000##000000
##BBD5401.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C927
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#C6CAB8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #bbd540;
/* rgb */ color: rgb(187, 213, 64);
/* oklch */ color: oklch(82.7% 0.171 119.0);
Tailwind
colors: {
  custom: {
    50: '#d3e17e',
    500: '#bbd540',
    950: '#000000',
  },
}
SCSS
$custom: #bbd540;
$custom-light: #d3e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbd540",
  "rgb": {
    "r": 187,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 70.47,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8269,
    "c": 0.17086,
    "h": 119
  },
  "luminance": 0.58523
}

Semantic roles & 50–950 ramp

primary
#BBD540
secondary
#423386
accent
#41E75E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #BBD540

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

Preview Lab → · Contrast checker → · Palette generator →

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