#B8D987#B8D987

#B8D987 is a very light, moderate yellow-green. Relative luminance 0.616; OKLCH L 84.2% C 0.113 H 126.5°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#B8D987
RGBrgb(184, 217, 135)
HSLhsl(84, 52%, 69%)
HSVhsv(84, 38%, 85%)
CMYKcmyk(15.2%, 0%, 37.8%, 14.9%)
CIE-LABlab(82.68, -24.56, 36.86)
CIE-LCHlch(82.68, 44.30, 123.68°)
OKLaboklab(84.21% -0.0673 0.0908)
OKLCHoklch(84.21% 0.113 126.5)
XYZxyz(48.9527, 61.5649, 32.2212)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D987 #A887D9
analogous
#D9D187 #B8D987 #8FD987
triadic
#B8D987 #87B8D9 #D987B8
tetradic
#B8D987 #87D9D1 #A887D9 #D9878F
square
#B8D987 #87D9D1 #A887D9 #D9878F
split-complementary
#B8D987 #878FD9 #D187D9
monochromatic
#7EAE37 #9DCA59 #B8D987 #D4E8B5 #EFF6E4

Accessibility & contrast

On white

1.58
#B8D987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#B8D987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D987
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D987#FFFFFF#000000##000000
##B8D9871.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CF81
Deuteranopia (green-blind)
#DCCD8B
Tritanopia (blue-blind)
#BCD2C5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #b8d987;
/* rgb */ color: rgb(184, 217, 135);
/* oklch */ color: oklch(84.2% 0.113 126.5);
Tailwind
colors: {
  custom: {
    50: '#cee4ab',
    500: '#b8d987',
    950: '#000000',
  },
}
SCSS
$custom: #b8d987;
$custom-light: #cee4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d987",
  "rgb": {
    "r": 184,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 84.146,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.84208,
    "c": 0.11298,
    "h": 126.5
  },
  "luminance": 0.61565
}

Semantic roles & 50–950 ramp

primary
#B8D987
secondary
#7955AF
accent
#26BF64
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#141510
muted
#838481

Preview Lab

Preview with #B8D987

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

Preview Lab → · Contrast checker → · Palette generator →

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