#B4D542#B4D542

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

Color values

HEX#B4D542
RGBrgb(180, 213, 66)
HSLhsl(73, 64%, 55%)
HSVhsv(73, 69%, 84%)
CMYKcmyk(15.5%, 0%, 69%, 16.5%)
CIE-LABlab(80.56, -30.61, 65.57)
CIE-LCHlch(80.56, 72.36, 115.02°)
OKLaboklab(82.2% -0.0896 0.1472)
OKLCHoklch(82.2% 0.172 121.3)
XYZxyz(43.6007, 57.6852, 13.9906)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D542 #6342D5
analogous
#D5AC42 #B4D542 #6BD542
triadic
#B4D542 #42B4D5 #D542B4
tetradic
#B4D542 #42D5AC #6342D5 #D5426B
square
#B4D542 #42D5AC #6342D5 #D5426B
split-complementary
#B4D542 #426BD5 #AC42D5
monochromatic
#6A801C #93B228 #B4D542 #C8E074 #DCEBA6

Accessibility & contrast

On white

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

On black

12.54
#B4D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D542
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D542#FFFFFF#000000##000000
##B4D5421.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4d542;
/* rgb */ color: rgb(180, 213, 66);
/* oklch */ color: oklch(82.2% 0.172 121.3);
Tailwind
colors: {
  custom: {
    50: '#cee27f',
    500: '#b4d542',
    950: '#000000',
  },
}
SCSS
$custom: #b4d542;
$custom-light: #cee27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d542",
  "rgb": {
    "r": 180,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 73.469,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82198,
    "c": 0.17228,
    "h": 121.3
  },
  "luminance": 0.57685
}

Semantic roles & 50–950 ramp

primary
#B4D542
secondary
#473487
accent
#41E766
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B4D542

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

Preview Lab → · Contrast checker → · Palette generator →

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