#BBD240#BBD240

#BBD240 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.0% C 0.167 H 118.1°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#BBD240
RGBrgb(187, 210, 64)
HSLhsl(69, 62%, 54%)
HSVhsv(69, 70%, 82%)
CMYKcmyk(11%, 0%, 69.5%, 17.6%)
CIE-LABlab(80.20, -26.48, 66.09)
CIE-LCHlch(80.20, 71.20, 111.84°)
OKLaboklab(82.02% -0.0787 0.1478)
OKLCHoklch(82.02% 0.167 118.1)
XYZxyz(44.4665, 57.0286, 13.5146)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBD240 #5740D2
analogous
#D2A040 #BBD240 #72D240
triadic
#BBD240 #40BBD2 #D240BB
tetradic
#BBD240 #40D2A0 #5740D2 #D24072
square
#BBD240 #40D2A0 #5740D2 #D24072
split-complementary
#BBD240 #4072D2 #A040D2
monochromatic
#6C7B1D #97AC29 #BBD240 #CDDE72 #DEE9A3

Accessibility & contrast

On white

1.69
#BBD240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#BBD240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBD240
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBD240#FFFFFF#000000##000000
##BBD2401.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C728
Deuteranopia (green-blind)
#DDC84C
Tritanopia (blue-blind)
#C6C7B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bbd240;
/* rgb */ color: rgb(187, 210, 64);
/* oklch */ color: oklch(82.0% 0.167 118.1);
Tailwind
colors: {
  custom: {
    50: '#d3df7e',
    500: '#bbd240',
    950: '#000000',
  },
}
SCSS
$custom: #bbd240;
$custom-light: #d3df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbd240",
  "rgb": {
    "r": 187,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 69.452,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8202,
    "c": 0.16744,
    "h": 118.1
  },
  "luminance": 0.57028
}

Semantic roles & 50–950 ramp

primary
#BBD240
secondary
#403483
accent
#43E55C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BBD240

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

Preview Lab → · Contrast checker → · Palette generator →

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