#D2FA7B#D2FA7B

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

Color values

HEX#D2FA7B
RGBrgb(210, 250, 123)
HSLhsl(79, 93%, 73%)
HSVhsv(79, 51%, 98%)
CMYKcmyk(16%, 0%, 50.8%, 2%)
CIE-LABlab(93.23, -31.82, 56.11)
CIE-LCHlch(93.23, 64.50, 119.56°)
OKLaboklab(93.07% -0.0895 0.133)
OKLCHoklch(93.07% 0.16 123.9)
XYZxyz(64.3392, 83.5025, 31.4631)
Luminance0.8350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FA7B #A37BFA
analogous
#FAE37B #D2FA7B #92FA7B
triadic
#D2FA7B #7BD2FA #FA7BD2
tetradic
#D2FA7B #7BFAE3 #A37BFA #FA7B92
square
#D2FA7B #7BFAE3 #A37BFA #FA7B92
split-complementary
#D2FA7B #7B92FA #E37BFA
monochromatic
#A8F109 #BEF840 #D2FA7B #E6FCB6 #F5FEE2

Accessibility & contrast

On white

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

On black

17.70
#D2FA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FA7B
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FA7B#FFFFFF#000000##000000
##D2FA7B1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2fa7b;
/* rgb */ color: rgb(210, 250, 123);
/* oklch */ color: oklch(93.1% 0.160 123.9);
Tailwind
colors: {
  custom: {
    50: '#e2fca4',
    500: '#d2fa7b',
    950: '#000000',
  },
}
SCSS
$custom: #d2fa7b;
$custom-light: #e2fca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fa7b",
  "rgb": {
    "r": 210,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 78.898,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93066,
    "c": 0.16035,
    "h": 123.9
  },
  "luminance": 0.83503
}

Semantic roles & 50–950 ramp

primary
#D2FA7B
secondary
#7142D7
accent
#00E648
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2FA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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