#D8F795#D8F795

#D8F795 is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.2% C 0.128 H 123.2°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#D8F795
RGBrgb(216, 247, 149)
HSLhsl(79, 86%, 78%)
HSVhsv(79, 40%, 97%)
CMYKcmyk(12.6%, 0%, 39.7%, 3.1%)
CIE-LABlab(93.14, -25.44, 43.78)
CIE-LCHlch(93.14, 50.64, 120.16°)
OKLaboklab(93.2% -0.07 0.107)
OKLCHoklch(93.2% 0.128 123.2)
XYZxyz(67.0043, 83.2902, 40.9746)
Luminance0.8329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F795 #B495F7
analogous
#F7E595 #D8F795 #A7F795
triadic
#D8F795 #95D8F7 #F795D8
tetradic
#D8F795 #95F7E5 #B495F7 #F795A7
square
#D8F795 #95F7E5 #B495F7 #F795A7
split-complementary
#D8F795 #95A7F7 #E595F7
monochromatic
#AEEE23 #C3F35C #D8F795 #EDFBCE #F5FDE3

Accessibility & contrast

On white

1.19
#D8F795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#D8F795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F795
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F795#FFFFFF#000000##000000
##D8F7951.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8E
Deuteranopia (green-blind)
#FDEB9A
Tritanopia (blue-blind)
#DFEEDF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f795;
/* rgb */ color: rgb(216, 247, 149);
/* oklch */ color: oklch(93.2% 0.128 123.2);
Tailwind
colors: {
  custom: {
    50: '#e5fab5',
    500: '#d8f795',
    950: '#000000',
  },
}
SCSS
$custom: #d8f795;
$custom-light: #e5fab5;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f795",
  "rgb": {
    "r": 216,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 78.98,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.93196,
    "c": 0.1279,
    "h": 123.2
  },
  "luminance": 0.8329
}

Semantic roles & 50–950 ramp

primary
#D8F795
secondary
#815AD6
accent
#03E24A
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #D8F795

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

Preview Lab → · Contrast checker → · Palette generator →

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