#B4D540#B4D540

#B4D540 is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.2% C 0.174 H 121.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#B4D540
RGBrgb(180, 213, 64)
HSLhsl(73, 64%, 54%)
HSVhsv(73, 70%, 84%)
CMYKcmyk(15.5%, 0%, 70%, 16.5%)
CIE-LABlab(80.55, -30.72, 66.28)
CIE-LCHlch(80.55, 73.06, 114.87°)
OKLaboklab(82.18% -0.0901 0.1484)
OKLCHoklch(82.18% 0.174 121.3)
XYZxyz(43.5427, 57.6620, 13.6855)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D540 #6140D5
analogous
#D5AC40 #B4D540 #6AD540
triadic
#B4D540 #40B4D5 #D540B4
tetradic
#B4D540 #40D5AC #6140D5 #D5406A
square
#B4D540 #40D5AC #6140D5 #D5406A
split-complementary
#B4D540 #406AD5 #AC40D5
monochromatic
#697F1C #92B127 #B4D540 #C8E072 #DBEBA4

Accessibility & contrast

On white

1.68
#B4D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#B4D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D540
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D540#FFFFFF#000000##000000
##B4D5401.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C827
Deuteranopia (green-blind)
#DEC84C
Tritanopia (blue-blind)
#BECAB8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #b4d540;
/* rgb */ color: rgb(180, 213, 64);
/* oklch */ color: oklch(82.2% 0.174 121.3);
Tailwind
colors: {
  custom: {
    50: '#cee27e',
    500: '#b4d540',
    950: '#000000',
  },
}
SCSS
$custom: #b4d540;
$custom-light: #cee27e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d540",
  "rgb": {
    "r": 180,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 73.289,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82184,
    "c": 0.17356,
    "h": 121.3
  },
  "luminance": 0.57662
}

Semantic roles & 50–950 ramp

primary
#B4D540
secondary
#463386
accent
#41E766
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4D540

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

Preview Lab → · Contrast checker → · Palette generator →

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