#B4D951#B4D951

#B4D951 is a very light, vivid yellow-green. Relative luminance 0.599; OKLCH L 83.2% C 0.166 H 123.0°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#B4D951
RGBrgb(180, 217, 81)
HSLhsl(76, 64%, 58%)
HSVhsv(76, 63%, 85%)
CMYKcmyk(17.1%, 0%, 62.7%, 14.9%)
CIE-LABlab(81.80, -31.49, 60.98)
CIE-LCHlch(81.80, 68.63, 117.31°)
OKLaboklab(83.23% -0.0907 0.1396)
OKLCHoklch(83.23% 0.166 123)
XYZxyz(45.1208, 59.9229, 16.9722)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D951 #7651D9
analogous
#D9BA51 #B4D951 #70D951
triadic
#B4D951 #51B4D9 #D951B4
tetradic
#B4D951 #51D9BA #7651D9 #D95170
square
#B4D951 #51D9BA #7651D9 #D95170
split-complementary
#B4D951 #5170D9 #BA51D9
monochromatic
#71901F #99C22A #B4D951 #CAE483 #DFEFB5

Accessibility & contrast

On white

1.62
#B4D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#B4D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D951
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D951#FFFFFF#000000##000000
##B4D9511.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC40
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#BCCFBD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b4d951;
/* rgb */ color: rgb(180, 217, 81);
/* oklch */ color: oklch(83.2% 0.166 123.0);
Tailwind
colors: {
  custom: {
    50: '#cde488',
    500: '#b4d951',
    950: '#000000',
  },
}
SCSS
$custom: #b4d951;
$custom-light: #cde488;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d951",
  "rgb": {
    "r": 180,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 76.324,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83228,
    "c": 0.16647,
    "h": 123
  },
  "luminance": 0.59923
}

Semantic roles & 50–950 ramp

primary
#B4D951
secondary
#523995
accent
#41E76E
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4D951

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

Preview Lab → · Contrast checker → · Palette generator →

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