#B5D862#B5D862

#B5D862 is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 83.2% C 0.151 H 123.4°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#B5D862
RGBrgb(181, 216, 98)
HSLhsl(78, 60%, 62%)
HSVhsv(78, 55%, 85%)
CMYKcmyk(16.2%, 0%, 54.6%, 15.3%)
CIE-LABlab(81.74, -29.25, 53.54)
CIE-LCHlch(81.74, 61.01, 118.64°)
OKLaboklab(83.25% -0.0829 0.1256)
OKLCHoklch(83.25% 0.151 123.4)
XYZxyz(45.8167, 59.8171, 20.6850)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D862 #8562D8
analogous
#D8C062 #B5D862 #7AD862
triadic
#B5D862 #62B5D8 #D862B5
tetradic
#B5D862 #62D8C0 #8562D8 #D8627A
square
#B5D862 #62D8C0 #8562D8 #D8627A
split-complementary
#B5D862 #627AD8 #C062D8
monochromatic
#779926 #9DCA32 #B5D862 #CCE493 #E3F0C4

Accessibility & contrast

On white

1.62
#B5D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#B5D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D862
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D862#FFFFFF#000000##000000
##B5D8621.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC56
Deuteranopia (green-blind)
#DECB69
Tritanopia (blue-blind)
#BCCFBE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b5d862;
/* rgb */ color: rgb(181, 216, 98);
/* oklch */ color: oklch(83.2% 0.151 123.4);
Tailwind
colors: {
  custom: {
    50: '#cde492',
    500: '#b5d862',
    950: '#000000',
  },
}
SCSS
$custom: #b5d862;
$custom-light: #cde492;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d862",
  "rgb": {
    "r": 181,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 77.797,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83248,
    "c": 0.15052,
    "h": 123.4
  },
  "luminance": 0.59817
}

Semantic roles & 50–950 ramp

primary
#B5D862
secondary
#5C409E
accent
#1EC850
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B5D862

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

Preview Lab → · Contrast checker → · Palette generator →

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