#B4D581#B4D581

#B4D581 is a very light, moderate yellow-green. Relative luminance 0.589; OKLCH L 82.9% C 0.115 H 126.3°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#B4D581
RGBrgb(180, 213, 129)
HSLhsl(84, 50%, 67%)
HSVhsv(84, 39%, 84%)
CMYKcmyk(15.5%, 0%, 39.4%, 16.5%)
CIE-LABlab(81.22, -24.86, 37.96)
CIE-LCHlch(81.22, 45.38, 123.23°)
OKLaboklab(82.94% -0.0683 0.0931)
OKLCHoklch(82.94% 0.115 126.3)
XYZxyz(46.5787, 58.8764, 29.6750)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D581 #A281D5
analogous
#D5CC81 #B4D581 #8AD581
triadic
#B4D581 #81B4D5 #D581B4
tetradic
#B4D581 #81D5CC #A281D5 #D5818A
square
#B4D581 #81D5CC #A281D5 #D5818A
split-complementary
#B4D581 #818AD5 #CC81D5
monochromatic
#7AA537 #99C653 #B4D581 #CFE4AF #EBF4DD

Accessibility & contrast

On white

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

On black

12.78
#B4D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D581
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D581#FFFFFF#000000##000000
##B4D5811.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4d581;
/* rgb */ color: rgb(180, 213, 129);
/* oklch */ color: oklch(82.9% 0.115 126.3);
Tailwind
colors: {
  custom: {
    50: '#cbe2a6',
    500: '#b4d581',
    950: '#000000',
  },
}
SCSS
$custom: #b4d581;
$custom-light: #cbe2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d581",
  "rgb": {
    "r": 180,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 83.571,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82943,
    "c": 0.11544,
    "h": 126.3
  },
  "luminance": 0.58877
}

Semantic roles & 50–950 ramp

primary
#B4D581
secondary
#7451A9
accent
#28BD63
background
#FEFEFC
surface
#FAFCF6
border
#D3D5D0
text
#13150F
muted
#838480

Preview Lab

Preview with #B4D581

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

Preview Lab → · Contrast checker → · Palette generator →

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