#B8D87F#B8D87F

#B8D87F is a very light, vivid yellow-green. Relative luminance 0.608; OKLCH L 83.9% C 0.120 H 125.1°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#B8D87F
RGBrgb(184, 216, 127)
HSLhsl(82, 53%, 67%)
HSVhsv(82, 41%, 85%)
CMYKcmyk(14.8%, 0%, 41.2%, 15.3%)
CIE-LABlab(82.29, -25.07, 40.37)
CIE-LCHlch(82.29, 47.52, 121.83°)
OKLaboklab(83.86% -0.0691 0.0985)
OKLCHoklch(83.86% 0.12 125.1)
XYZxyz(48.1535, 60.8341, 29.2798)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D87F #9F7FD8
analogous
#D8CB7F #B8D87F #8CD87F
triadic
#B8D87F #7FB8D8 #D87FB8
tetradic
#B8D87F #7FD8CB #9F7FD8 #D87F8C
square
#B8D87F #7FD8CB #9F7FD8 #D87F8C
split-complementary
#B8D87F #7F8CD8 #CB7FD8
monochromatic
#7FA934 #9ECA50 #B8D87F #D2E6AE #ECF5DD

Accessibility & contrast

On white

1.59
#B8D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#B8D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D87F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D87F#FFFFFF#000000##000000
##B8D87F1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE78
Deuteranopia (green-blind)
#DCCC84
Tritanopia (blue-blind)
#BDD0C2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #b8d87f;
/* rgb */ color: rgb(184, 216, 127);
/* oklch */ color: oklch(83.9% 0.120 125.1);
Tailwind
colors: {
  custom: {
    50: '#cee4a5',
    500: '#b8d87f',
    950: '#000000',
  },
}
SCSS
$custom: #b8d87f;
$custom-light: #cee4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d87f",
  "rgb": {
    "r": 184,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 81.573,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83856,
    "c": 0.12031,
    "h": 125.1
  },
  "luminance": 0.60834
}

Semantic roles & 50–950 ramp

primary
#B8D87F
secondary
#704FAC
accent
#25C15D
background
#FEFEFC
surface
#FBFCF6
border
#D4D5D0
text
#14150F
muted
#838480

Preview Lab

Preview with #B8D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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