#B4D151#B4D151

#B4D151 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.4% C 0.157 H 120.8°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#B4D151
RGBrgb(180, 209, 81)
HSLhsl(74, 58%, 57%)
HSVhsv(74, 61%, 82%)
CMYKcmyk(13.9%, 0%, 61.2%, 18%)
CIE-LABlab(79.56, -27.72, 58.55)
CIE-LCHlch(79.56, 64.78, 115.33°)
OKLaboklab(81.42% -0.0802 0.1345)
OKLCHoklch(81.42% 0.157 120.8)
XYZxyz(43.1086, 55.8984, 16.3014)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D151 #6E51D1
analogous
#D1AE51 #B4D151 #74D151
triadic
#B4D151 #51B4D1 #D151B4
tetradic
#B4D151 #51D1AE #6E51D1 #D15174
square
#B4D151 #51D1AE #6E51D1 #D15174
split-complementary
#B4D151 #5174D1 #AE51D1
monochromatic
#6E8523 #97B530 #B4D151 #C9DE81 #DEEBB2

Accessibility & contrast

On white

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

On black

12.18
#B4D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D151
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D151#FFFFFF#000000##000000
##B4D1511.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#DAC55A
Tritanopia (blue-blind)
#BDC7B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b4d151;
/* rgb */ color: rgb(180, 209, 81);
/* oklch */ color: oklch(81.4% 0.157 120.8);
Tailwind
colors: {
  custom: {
    50: '#cddf87',
    500: '#b4d151',
    950: '#000000',
  },
}
SCSS
$custom: #b4d151;
$custom-light: #cddf87;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d151",
  "rgb": {
    "r": 180,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 73.594,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81423,
    "c": 0.15656,
    "h": 120.8
  },
  "luminance": 0.55898
}

Semantic roles & 50–950 ramp

primary
#B4D151
secondary
#4D3B8B
accent
#46E16A
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4D151

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

Preview Lab → · Contrast checker → · Palette generator →

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