#D8F286#D8F286

#D8F286 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.9% C 0.137 H 120.3°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#D8F286
RGBrgb(216, 242, 134)
HSLhsl(74, 81%, 74%)
HSVhsv(74, 45%, 95%)
CMYKcmyk(10.7%, 0%, 44.6%, 5.1%)
CIE-LABlab(91.61, -24.72, 49.09)
CIE-LCHlch(91.61, 54.97, 116.73°)
OKLaboklab(91.9% -0.069 0.1182)
OKLCHoklch(91.9% 0.137 120.3)
XYZxyz(64.3744, 79.8246, 34.5660)
Luminance0.7982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F286 #A086F2
analogous
#F2D686 #D8F286 #A2F286
triadic
#D8F286 #86D8F2 #F286D8
tetradic
#D8F286 #86F2D6 #A086F2 #F286A2
square
#D8F286 #86F2D6 #A086F2 #F286A2
split-complementary
#D8F286 #86A2F2 #D686F2
monochromatic
#B4E519 #C6EC4F #D8F286 #EAF8BD #F6FCE3

Accessibility & contrast

On white

1.24
#D8F286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#D8F286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F286
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F286#FFFFFF#000000##000000
##D8F2861.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77D
Deuteranopia (green-blind)
#FBE78C
Tritanopia (blue-blind)
#E1E8D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d8f286;
/* rgb */ color: rgb(216, 242, 134);
/* oklch */ color: oklch(91.9% 0.137 120.3);
Tailwind
colors: {
  custom: {
    50: '#e5f6ab',
    500: '#d8f286',
    950: '#000000',
  },
}
SCSS
$custom: #d8f286;
$custom-light: #e5f6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f286",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 74.444,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91902,
    "c": 0.13691,
    "h": 120.3
  },
  "luminance": 0.79824
}

Semantic roles & 50–950 ramp

primary
#D8F286
secondary
#6D4ECE
accent
#09DD3C
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8F286

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

Preview Lab → · Contrast checker → · Palette generator →

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