#D8F271#D8F271

#D8F271 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.6% C 0.157 H 119.1°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#D8F271
RGBrgb(216, 242, 113)
HSLhsl(72, 83%, 70%)
HSVhsv(72, 53%, 95%)
CMYKcmyk(10.7%, 0%, 53.3%, 5.1%)
CIE-LABlab(91.37, -26.72, 58.54)
CIE-LCHlch(91.37, 64.35, 114.54°)
OKLaboklab(91.63% -0.0764 0.1374)
OKLCHoklch(91.63% 0.157 119.1)
XYZxyz(63.0524, 79.2958, 27.6035)
Luminance0.7930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F271 #8B71F2
analogous
#F2CC71 #D8F271 #98F271
triadic
#D8F271 #71D8F2 #F271D8
tetradic
#D8F271 #71F2CC #8B71F2 #F27198
square
#D8F271 #71F2CC #8B71F2 #F27198
split-complementary
#D8F271 #7198F2 #CC71F2
monochromatic
#AED514 #C9ED39 #D8F271 #E7F7A9 #F7FCE1

Accessibility & contrast

On white

1.25
#D8F271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#D8F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F271
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F271#FFFFFF#000000##000000
##D8F2711.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#E3E7D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d8f271;
/* rgb */ color: rgb(216, 242, 113);
/* oklch */ color: oklch(91.6% 0.157 119.1);
Tailwind
colors: {
  custom: {
    50: '#e6f69d',
    500: '#d8f271',
    950: '#000000',
  },
}
SCSS
$custom: #d8f271;
$custom-light: #e6f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f271",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 72.093,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91634,
    "c": 0.15718,
    "h": 119.1
  },
  "luminance": 0.79295
}

Semantic roles & 50–950 ramp

primary
#D8F271
secondary
#593CCB
accent
#06E032
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F271

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

Preview Lab → · Contrast checker → · Palette generator →

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