#B4D252#B4D252

#B4D252 is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.7% C 0.157 H 121.1°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#B4D252
RGBrgb(180, 210, 82)
HSLhsl(74, 59%, 57%)
HSVhsv(74, 61%, 82%)
CMYKcmyk(14.3%, 0%, 61%, 17.6%)
CIE-LABlab(79.84, -28.12, 58.44)
CIE-LCHlch(79.84, 64.86, 115.69°)
OKLaboklab(81.66% -0.0812 0.1344)
OKLCHoklch(81.66% 0.157 121.1)
XYZxyz(43.3925, 56.4057, 16.5824)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D252 #7052D2
analogous
#D2B052 #B4D252 #74D252
triadic
#B4D252 #52B4D2 #D252B4
tetradic
#B4D252 #52D2B0 #7052D2 #D25274
square
#B4D252 #52D2B0 #7052D2 #D25274
split-complementary
#B4D252 #5274D2 #B052D2
monochromatic
#6F8723 #97B730 #B4D252 #C9DF83 #DEEBB3

Accessibility & contrast

On white

1.71
#B4D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#B4D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D252
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D252#FFFFFF#000000##000000
##B4D2521.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#BDC8B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b4d252;
/* rgb */ color: rgb(180, 210, 82);
/* oklch */ color: oklch(81.7% 0.157 121.1);
Tailwind
colors: {
  custom: {
    50: '#cddf88',
    500: '#b4d252',
    950: '#000000',
  },
}
SCSS
$custom: #b4d252;
$custom-light: #cddf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d252",
  "rgb": {
    "r": 180,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 74.063,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81658,
    "c": 0.157,
    "h": 121.1
  },
  "luminance": 0.56406
}

Semantic roles & 50–950 ramp

primary
#B4D252
secondary
#4E3B8D
accent
#46E26A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4D252

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

Preview Lab → · Contrast checker → · Palette generator →

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