#D2F795#D2F795

#D2F795 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.8% C 0.130 H 125.7°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#D2F795
RGBrgb(210, 247, 149)
HSLhsl(83, 86%, 78%)
HSVhsv(83, 40%, 97%)
CMYKcmyk(15%, 0%, 39.7%, 3.1%)
CIE-LABlab(92.75, -27.63, 43.20)
CIE-LCHlch(92.75, 51.28, 122.60°)
OKLaboklab(92.78% -0.076 0.1057)
OKLCHoklch(92.78% 0.13 125.7)
XYZxyz(65.2635, 82.3926, 40.8930)
Luminance0.8239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F795 #BA95F7
analogous
#F7EB95 #D2F795 #A1F795
triadic
#D2F795 #95D2F7 #F795D2
tetradic
#D2F795 #95F7EB #BA95F7 #F795A1
square
#D2F795 #95F7EB #BA95F7 #F795A1
split-complementary
#D2F795 #95A1F7 #EB95F7
monochromatic
#A2EE23 #BAF35C #D2F795 #EAFBCE #F3FDE3

Accessibility & contrast

On white

1.20
#D2F795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#D2F795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F795
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F795#FFFFFF#000000##000000
##D2F7951.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8E
Deuteranopia (green-blind)
#FBEA9A
Tritanopia (blue-blind)
#D8EFDF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d2f795;
/* rgb */ color: rgb(210, 247, 149);
/* oklch */ color: oklch(92.8% 0.130 125.7);
Tailwind
colors: {
  custom: {
    50: '#e1fab5',
    500: '#d2f795',
    950: '#000000',
  },
}
SCSS
$custom: #d2f795;
$custom-light: #e1fab5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f795",
  "rgb": {
    "r": 210,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 82.653,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.92781,
    "c": 0.1302,
    "h": 125.7
  },
  "luminance": 0.82393
}

Semantic roles & 50–950 ramp

primary
#D2F795
secondary
#895AD6
accent
#03E257
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2F795

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

Preview Lab → · Contrast checker → · Palette generator →

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