#B4DB31#B4DB31

#B4DB31 is a very light, vivid yellow-green. Relative luminance 0.606; OKLCH L 83.5% C 0.189 H 122.3°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#B4DB31
RGBrgb(180, 219, 49)
HSLhsl(74, 70%, 53%)
HSVhsv(74, 78%, 86%)
CMYKcmyk(17.8%, 0%, 77.6%, 14.1%)
CIE-LABlab(82.16, -34.23, 72.70)
CIE-LCHlch(82.16, 80.36, 115.22°)
OKLaboklab(83.45% -0.1009 0.1595)
OKLCHoklch(83.45% 0.189 122.3)
XYZxyz(44.7090, 60.5879, 12.2444)
Luminance0.6059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4DB31 #5831DB
analogous
#DBAD31 #B4DB31 #5FDB31
triadic
#B4DB31 #31B4DB #DB31B4
tetradic
#B4DB31 #31DBAD #5831DB #DB315F
square
#B4DB31 #31DBAD #5831DB #DB315F
split-complementary
#B4DB31 #315FDB #AD31DB
monochromatic
#647C16 #8FB01F #B4DB31 #C7E465 #DAED99

Accessibility & contrast

On white

1.60
#B4DB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#B4DB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4DB31
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4DB31#FFFFFF#000000##000000
##B4DB311.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#E3CC42
Tritanopia (blue-blind)
#BED0BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #b4db31;
/* rgb */ color: rgb(180, 219, 49);
/* oklch */ color: oklch(83.5% 0.189 122.3);
Tailwind
colors: {
  custom: {
    50: '#cfe677',
    500: '#b4db31',
    950: '#000000',
  },
}
SCSS
$custom: #b4db31;
$custom-light: #cfe677;
$custom-dark: #000000;
JSON
{
  "hex": "#b4db31",
  "rgb": {
    "r": 180,
    "g": 219,
    "b": 49
  },
  "hsl": {
    "h": 73.765,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.83454,
    "c": 0.18872,
    "h": 122.3
  },
  "luminance": 0.60588
}

Semantic roles & 50–950 ramp

primary
#B4DB31
secondary
#412D83
accent
#3BED64
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4DB31

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

Preview Lab → · Contrast checker → · Palette generator →

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