#B5D542#B5D542

#B5D542 is a very light, vivid yellow-green. Relative luminance 0.578; OKLCH L 82.3% C 0.172 H 121.0°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#B5D542
RGBrgb(181, 213, 66)
HSLhsl(73, 64%, 55%)
HSVhsv(73, 69%, 84%)
CMYKcmyk(15%, 0%, 69%, 16.5%)
CIE-LABlab(80.63, -30.21, 65.66)
CIE-LCHlch(80.63, 72.27, 114.71°)
OKLaboklab(82.27% -0.0885 0.1473)
OKLCHoklch(82.27% 0.172 121)
XYZxyz(43.8343, 57.8057, 14.0015)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D542 #6242D5
analogous
#D5AB42 #B5D542 #6CD542
triadic
#B5D542 #42B5D5 #D542B5
tetradic
#B5D542 #42D5AB #6242D5 #D5426C
square
#B5D542 #42D5AB #6242D5 #D5426C
split-complementary
#B5D542 #426CD5 #AB42D5
monochromatic
#6A801C #94B228 #B5D542 #C9E074 #DCEBA6

Accessibility & contrast

On white

1.67
#B5D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#B5D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D542
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D542#FFFFFF#000000##000000
##B5D5421.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5d542;
/* rgb */ color: rgb(181, 213, 66);
/* oklch */ color: oklch(82.3% 0.172 121.0);
Tailwind
colors: {
  custom: {
    50: '#cfe27f',
    500: '#b5d542',
    950: '#000000',
  },
}
SCSS
$custom: #b5d542;
$custom-light: #cfe27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d542",
  "rgb": {
    "r": 181,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 73.061,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82269,
    "c": 0.17188,
    "h": 121
  },
  "luminance": 0.57806
}

Semantic roles & 50–950 ramp

primary
#B5D542
secondary
#463487
accent
#41E765
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B5D542

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

Preview Lab → · Contrast checker → · Palette generator →

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