#D2FA7C#D2FA7C

#D2FA7C is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.1% C 0.159 H 124.0°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#D2FA7C
RGBrgb(210, 250, 124)
HSLhsl(79, 93%, 73%)
HSVhsv(79, 50%, 98%)
CMYKcmyk(16%, 0%, 50.4%, 2%)
CIE-LABlab(93.25, -31.72, 55.67)
CIE-LCHlch(93.25, 64.07, 119.68°)
OKLaboklab(93.08% -0.0892 0.1321)
OKLCHoklch(93.08% 0.159 124)
XYZxyz(64.4021, 83.5277, 31.7944)
Luminance0.8353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FA7C #A47CFA
analogous
#FAE37C #D2FA7C #93FA7C
triadic
#D2FA7C #7CD2FA #FA7CD2
tetradic
#D2FA7C #7CFAE3 #A47CFA #FA7C93
square
#D2FA7C #7CFAE3 #A47CFA #FA7C93
split-complementary
#D2FA7C #7C93FA #E37CFA
monochromatic
#A8F209 #BEF841 #D2FA7C #E6FCB7 #F5FEE2

Accessibility & contrast

On white

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

On black

17.71
#D2FA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FA7C
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FA7C#FFFFFF#000000##000000
##D2FA7C1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED70
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#DAF0DD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d2fa7c;
/* rgb */ color: rgb(210, 250, 124);
/* oklch */ color: oklch(93.1% 0.159 124.0);
Tailwind
colors: {
  custom: {
    50: '#e2fca5',
    500: '#d2fa7c',
    950: '#000000',
  },
}
SCSS
$custom: #d2fa7c;
$custom-light: #e2fca5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fa7c",
  "rgb": {
    "r": 210,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 79.048,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93079,
    "c": 0.15942,
    "h": 124
  },
  "luminance": 0.83528
}

Semantic roles & 50–950 ramp

primary
#D2FA7C
secondary
#7243D7
accent
#00E649
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2FA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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