#D2FA7F#D2FA7F

#D2FA7F is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.1% C 0.157 H 124.3°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#D2FA7F
RGBrgb(210, 250, 127)
HSLhsl(80, 92%, 74%)
HSVhsv(80, 49%, 98%)
CMYKcmyk(16%, 0%, 49.2%, 2%)
CIE-LABlab(93.28, -31.43, 54.33)
CIE-LCHlch(93.28, 62.76, 120.05°)
OKLaboklab(93.12% -0.0881 0.1294)
OKLCHoklch(93.12% 0.157 124.3)
XYZxyz(64.5947, 83.6048, 32.8088)
Luminance0.8360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FA7F #A77FFA
analogous
#FAE47F #D2FA7F #95FA7F
triadic
#D2FA7F #7FD2FA #FA7FD2
tetradic
#D2FA7F #7FFAE4 #A77FFA #FA7F95
square
#D2FA7F #7FFAE4 #A77FFA #FA7F95
split-complementary
#D2FA7F #7F95FA #E47FFA
monochromatic
#A8F50A #BDF844 #D2FA7F #E7FCBA #F5FEE2

Accessibility & contrast

On white

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

On black

17.72
#D2FA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FA7F
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FA7F#FFFFFF#000000##000000
##D2FA7F1.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED74
Deuteranopia (green-blind)
#FFEB86
Tritanopia (blue-blind)
#DAF0DE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d2fa7f;
/* rgb */ color: rgb(210, 250, 127);
/* oklch */ color: oklch(93.1% 0.157 124.3);
Tailwind
colors: {
  custom: {
    50: '#e2fca7',
    500: '#d2fa7f',
    950: '#000000',
  },
}
SCSS
$custom: #d2fa7f;
$custom-light: #e2fca7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fa7f",
  "rgb": {
    "r": 210,
    "g": 250,
    "b": 127
  },
  "hsl": {
    "h": 79.512,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93117,
    "c": 0.15658,
    "h": 124.3
  },
  "luminance": 0.83605
}

Semantic roles & 50–950 ramp

primary
#D2FA7F
secondary
#7546D7
accent
#00E64B
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D2FA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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