#B8D581#B8D581

#B8D581 is a very light, moderate yellow-green. Relative luminance 0.594; OKLCH L 83.2% C 0.114 H 124.4°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#B8D581
RGBrgb(184, 213, 129)
HSLhsl(81, 50%, 67%)
HSVhsv(81, 39%, 84%)
CMYKcmyk(13.6%, 0%, 39.4%, 16.5%)
CIE-LABlab(81.49, -23.37, 38.35)
CIE-LCHlch(81.49, 44.91, 121.35°)
OKLaboklab(83.23% -0.0642 0.094)
OKLCHoklch(83.23% 0.114 124.4)
XYZxyz(47.5236, 59.3636, 29.7193)
Luminance0.5936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D581 #9E81D5
analogous
#D5C881 #B8D581 #8ED581
triadic
#B8D581 #81B8D5 #D581B8
tetradic
#B8D581 #81D5C8 #9E81D5 #D5818E
square
#B8D581 #81D5C8 #9E81D5 #D5818E
split-complementary
#B8D581 #818ED5 #C881D5
monochromatic
#7FA537 #9EC653 #B8D581 #D2E4AF #ECF4DD

Accessibility & contrast

On white

1.63
#B8D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#B8D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D581
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D581#FFFFFF#000000##000000
##B8D5811.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB7B
Deuteranopia (green-blind)
#DACA85
Tritanopia (blue-blind)
#BDCEC0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b8d581;
/* rgb */ color: rgb(184, 213, 129);
/* oklch */ color: oklch(83.2% 0.114 124.4);
Tailwind
colors: {
  custom: {
    50: '#cee2a6',
    500: '#b8d581',
    950: '#000000',
  },
}
SCSS
$custom: #b8d581;
$custom-light: #cee2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d581",
  "rgb": {
    "r": 184,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 80.714,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83225,
    "c": 0.11381,
    "h": 124.4
  },
  "luminance": 0.59364
}

Semantic roles & 50–950 ramp

primary
#B8D581
secondary
#7051A9
accent
#28BD5C
background
#FEFEFC
surface
#FBFCF6
border
#D4D5D0
text
#14150F
muted
#838480

Preview Lab

Preview with #B8D581

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

Preview Lab → · Contrast checker → · Palette generator →

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