#B5D342#B5D342

#B5D342 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.8% C 0.170 H 120.5°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#B5D342
RGBrgb(181, 211, 66)
HSLhsl(72, 62%, 54%)
HSVhsv(72, 69%, 83%)
CMYKcmyk(14.2%, 0%, 68.7%, 17.3%)
CIE-LABlab(80.07, -29.27, 65.09)
CIE-LCHlch(80.07, 71.37, 114.21°)
OKLaboklab(81.82% -0.0859 0.1461)
OKLCHoklch(81.82% 0.17 120.5)
XYZxyz(43.3344, 56.8058, 13.8349)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D342 #6042D3
analogous
#D3A942 #B5D342 #6DD342
triadic
#B5D342 #42B5D3 #D342B5
tetradic
#B5D342 #42D3A9 #6042D3 #D3426D
square
#B5D342 #42D3A9 #6042D3 #D3426D
split-complementary
#B5D342 #426DD3 #A942D3
monochromatic
#6A7D1D #93AF29 #B5D342 #C8DF74 #DCEAA5

Accessibility & contrast

On white

1.70
#B5D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#B5D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D342
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D342#FFFFFF#000000##000000
##B5D3421.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#BFC8B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b5d342;
/* rgb */ color: rgb(181, 211, 66);
/* oklch */ color: oklch(81.8% 0.170 120.5);
Tailwind
colors: {
  custom: {
    50: '#cee07f',
    500: '#b5d342',
    950: '#000000',
  },
}
SCSS
$custom: #b5d342;
$custom-light: #cee07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d342",
  "rgb": {
    "r": 181,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 72.414,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81818,
    "c": 0.16953,
    "h": 120.5
  },
  "luminance": 0.56806
}

Semantic roles & 50–950 ramp

primary
#B5D342
secondary
#453485
accent
#42E564
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B5D342

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

Preview Lab → · Contrast checker → · Palette generator →

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