#B4D152#B4D152

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

Color values

HEX#B4D152
RGBrgb(180, 209, 82)
HSLhsl(74, 58%, 57%)
HSVhsv(74, 61%, 82%)
CMYKcmyk(13.9%, 0%, 60.8%, 18%)
CIE-LABlab(79.56, -27.64, 58.14)
CIE-LCHlch(79.56, 64.38, 115.43°)
OKLaboklab(81.43% -0.0799 0.1337)
OKLCHoklch(81.43% 0.156 120.9)
XYZxyz(43.1464, 55.9135, 16.5004)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D152 #6F52D1
analogous
#D1AF52 #B4D152 #75D152
triadic
#B4D152 #52B4D1 #D152B4
tetradic
#B4D152 #52D1AF #6F52D1 #D15275
square
#B4D152 #52D1AF #6F52D1 #D15275
split-complementary
#B4D152 #5275D1 #AF52D1
monochromatic
#6F8523 #97B630 #B4D152 #C9DE82 #DEEBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4D152#FFFFFF#000000##000000
##B4D1521.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)
#DDC643
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#BDC7B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b4d152;
/* rgb */ color: rgb(180, 209, 82);
/* oklch */ color: oklch(81.4% 0.156 120.9);
Tailwind
colors: {
  custom: {
    50: '#cddf88',
    500: '#b4d152',
    950: '#000000',
  },
}
SCSS
$custom: #b4d152;
$custom-light: #cddf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d152",
  "rgb": {
    "r": 180,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 73.701,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81433,
    "c": 0.15576,
    "h": 120.9
  },
  "luminance": 0.55913
}

Semantic roles & 50–950 ramp

primary
#B4D152
secondary
#4E3B8C
accent
#47E16A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4D152

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

Preview Lab → · Contrast checker → · Palette generator →

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