#D8F8A2#D8F8A2

#D8F8A2 is a very light, moderate yellow-green. Relative luminance 0.843; OKLCH L 93.6% C 0.115 H 125.2°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#D8F8A2
RGBrgb(216, 248, 162)
HSLhsl(82, 86%, 80%)
HSVhsv(82, 35%, 97%)
CMYKcmyk(12.9%, 0%, 34.7%, 2.7%)
CIE-LABlab(93.60, -24.33, 37.97)
CIE-LCHlch(93.60, 45.10, 122.64°)
OKLaboklab(93.63% -0.0663 0.0941)
OKLCHoklch(93.63% 0.115 125.2)
XYZxyz(68.4073, 84.3420, 46.8511)
Luminance0.8434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F8A2 #C2A2F8
analogous
#F8EDA2 #D8F8A2 #ADF8A2
triadic
#D8F8A2 #A2D8F8 #F8A2D8
tetradic
#D8F8A2 #A2F8ED #C2A2F8 #F8A2AD
square
#D8F8A2 #A2F8ED #C2A2F8 #F8A2AD
split-complementary
#D8F8A2 #A2ADF8 #EDA2F8
monochromatic
#A8EF30 #C0F469 #D8F8A2 #F0FCDB #F3FDE3

Accessibility & contrast

On white

1.18
#D8F8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#D8F8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F8A2
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F8A2#FFFFFF#000000##000000
##D8F8A21.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE9C
Deuteranopia (green-blind)
#FCECA6
Tritanopia (blue-blind)
#DDF0E2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d8f8a2;
/* rgb */ color: rgb(216, 248, 162);
/* oklch */ color: oklch(93.6% 0.115 125.2);
Tailwind
colors: {
  custom: {
    50: '#e5fabe',
    500: '#d8f8a2',
    950: '#000000',
  },
}
SCSS
$custom: #d8f8a2;
$custom-light: #e5fabe;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f8a2",
  "rgb": {
    "r": 216,
    "g": 248,
    "b": 162
  },
  "hsl": {
    "h": 82.326,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.93625,
    "c": 0.11509,
    "h": 125.2
  },
  "luminance": 0.84342
}

Semantic roles & 50–950 ramp

primary
#D8F8A2
secondary
#9065D9
accent
#03E356
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #D8F8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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