#B5D581#B5D581

#B5D581 is a very light, moderate yellow-green. Relative luminance 0.590; OKLCH L 83.0% C 0.115 H 125.8°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#B5D581
RGBrgb(181, 213, 129)
HSLhsl(83, 50%, 67%)
HSVhsv(83, 39%, 84%)
CMYKcmyk(15%, 0%, 39.4%, 16.5%)
CIE-LABlab(81.29, -24.49, 38.06)
CIE-LCHlch(81.29, 45.26, 122.77°)
OKLaboklab(83.01% -0.0673 0.0933)
OKLCHoklch(83.01% 0.115 125.8)
XYZxyz(46.8124, 58.9969, 29.6859)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D581 #A181D5
analogous
#D5CB81 #B5D581 #8BD581
triadic
#B5D581 #81B5D5 #D581B5
tetradic
#B5D581 #81D5CB #A181D5 #D5818B
square
#B5D581 #81D5CB #A181D5 #D5818B
split-complementary
#B5D581 #818BD5 #CB81D5
monochromatic
#7BA537 #9AC653 #B5D581 #D0E4AF #EBF4DD

Accessibility & contrast

On white

1.64
#B5D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#B5D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D581
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D581#FFFFFF#000000##000000
##B5D5811.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB7B
Deuteranopia (green-blind)
#D9C985
Tritanopia (blue-blind)
#BACEC0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b5d581;
/* rgb */ color: rgb(181, 213, 129);
/* oklch */ color: oklch(83.0% 0.115 125.8);
Tailwind
colors: {
  custom: {
    50: '#cce2a6',
    500: '#b5d581',
    950: '#000000',
  },
}
SCSS
$custom: #b5d581;
$custom-light: #cce2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d581",
  "rgb": {
    "r": 181,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 82.857,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83013,
    "c": 0.11503,
    "h": 125.8
  },
  "luminance": 0.58997
}

Semantic roles & 50–950 ramp

primary
#B5D581
secondary
#7351A9
accent
#28BD61
background
#FEFEFC
surface
#FBFCF6
border
#D4D5D0
text
#13150F
muted
#838480

Preview Lab

Preview with #B5D581

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

Preview Lab → · Contrast checker → · Palette generator →

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