#BBD040#BBD040

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

Color values

HEX#BBD040
RGBrgb(187, 208, 64)
HSLhsl(69, 61%, 53%)
HSVhsv(69, 69%, 82%)
CMYKcmyk(10.1%, 0%, 69.2%, 18.4%)
CIE-LABlab(79.64, -25.53, 65.54)
CIE-LCHlch(79.64, 70.33, 111.28°)
OKLaboklab(81.57% -0.0761 0.1466)
OKLCHoklch(81.57% 0.165 117.4)
XYZxyz(43.9758, 56.0472, 13.3510)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBD040 #5540D0
analogous
#D09D40 #BBD040 #73D040
triadic
#BBD040 #40BBD0 #D040BB
tetradic
#BBD040 #40D09D #5540D0 #D04073
square
#BBD040 #40D09D #5540D0 #D04073
split-complementary
#BBD040 #4073D0 #9D40D0
monochromatic
#6B781E #97A92A #BBD040 #CCDC71 #DEE8A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBD040#FFFFFF#000000##000000
##BBD0401.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)
#DEC528
Deuteranopia (green-blind)
#DCC64B
Tritanopia (blue-blind)
#C6C5B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #bbd040;
/* rgb */ color: rgb(187, 208, 64);
/* oklch */ color: oklch(81.6% 0.165 117.4);
Tailwind
colors: {
  custom: {
    50: '#d3de7d',
    500: '#bbd040',
    950: '#000000',
  },
}
SCSS
$custom: #bbd040;
$custom-light: #d3de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbd040",
  "rgb": {
    "r": 187,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 68.75,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81574,
    "c": 0.16518,
    "h": 117.4
  },
  "luminance": 0.56047
}

Semantic roles & 50–950 ramp

primary
#BBD040
secondary
#3F3480
accent
#44E45B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BBD040

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

Preview Lab → · Contrast checker → · Palette generator →

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