#B1D987#B1D987

#B1D987 is a very light, moderate yellow-green. Relative luminance 0.607; OKLCH L 83.7% C 0.116 H 129.8°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#B1D987
RGBrgb(177, 217, 135)
HSLhsl(89, 52%, 69%)
HSVhsv(89, 38%, 85%)
CMYKcmyk(18.4%, 0%, 37.8%, 14.9%)
CIE-LABlab(82.23, -27.13, 36.19)
CIE-LCHlch(82.23, 45.23, 126.85°)
OKLaboklab(83.73% -0.0743 0.0892)
OKLCHoklch(83.73% 0.116 129.8)
XYZxyz(47.3168, 60.7214, 32.1445)
Luminance0.6072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1D987 #AF87D9
analogous
#D9D887 #B1D987 #88D987
triadic
#B1D987 #87B1D9 #D987B1
tetradic
#B1D987 #87D9D8 #AF87D9 #D98788
square
#B1D987 #87D9D8 #AF87D9 #D98788
split-complementary
#B1D987 #8788D9 #D887D9
monochromatic
#74AE37 #93CA59 #B1D987 #CFE8B5 #EDF6E4

Accessibility & contrast

On white

1.60
#B1D987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#B1D987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1D987
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1D987#FFFFFF#000000##000000
##B1D9871.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE81
Deuteranopia (green-blind)
#DACC8B
Tritanopia (blue-blind)
#B4D2C5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #b1d987;
/* rgb */ color: rgb(177, 217, 135);
/* oklch */ color: oklch(83.7% 0.116 129.8);
Tailwind
colors: {
  custom: {
    50: '#c9e5ab',
    500: '#b1d987',
    950: '#000000',
  },
}
SCSS
$custom: #b1d987;
$custom-light: #c9e5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b1d987",
  "rgb": {
    "r": 177,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 89.268,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83729,
    "c": 0.11609,
    "h": 129.8
  },
  "luminance": 0.60722
}

Semantic roles & 50–950 ramp

primary
#B1D987
secondary
#8155AF
accent
#26BF71
background
#FEFEFD
surface
#FAFCF7
border
#D3D5D0
text
#131510
muted
#838481

Preview Lab

Preview with #B1D987

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

Preview Lab → · Contrast checker → · Palette generator →

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