#D2F478#D2F478

#D2F478 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.7% C 0.155 H 122.2°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#D2F478
RGBrgb(210, 244, 120)
HSLhsl(76, 85%, 71%)
HSVhsv(76, 51%, 96%)
CMYKcmyk(13.9%, 0%, 50.8%, 4.3%)
CIE-LABlab(91.58, -29.32, 55.51)
CIE-LCHlch(91.58, 62.78, 117.84°)
OKLaboklab(91.72% -0.0828 0.1315)
OKLCHoklch(91.72% 0.155 122.2)
XYZxyz(62.3195, 79.7590, 29.8776)
Luminance0.7976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F478 #9A78F4
analogous
#F4D878 #D2F478 #94F478
triadic
#D2F478 #78D2F4 #F478D2
tetradic
#D2F478 #78F4D8 #9A78F4 #F47894
square
#D2F478 #78F4D8 #9A78F4 #F47894
split-complementary
#D2F478 #7894F4 #D878F4
monochromatic
#A7DF12 #BFEF3F #D2F478 #E5F9B1 #F6FDE3

Accessibility & contrast

On white

1.24
#D2F478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#D2F478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F478
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F478#FFFFFF#000000##000000
##D2F4781.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FCE77F
Tritanopia (blue-blind)
#DBEAD8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d2f478;
/* rgb */ color: rgb(210, 244, 120);
/* oklch */ color: oklch(91.7% 0.155 122.2);
Tailwind
colors: {
  custom: {
    50: '#e2f7a2',
    500: '#d2f478',
    950: '#000000',
  },
}
SCSS
$custom: #d2f478;
$custom-light: #e2f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f478",
  "rgb": {
    "r": 210,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 76.452,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91723,
    "c": 0.15537,
    "h": 122.2
  },
  "luminance": 0.79759
}

Semantic roles & 50–950 ramp

primary
#D2F478
secondary
#6841CF
accent
#04E141
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F478

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

Preview Lab → · Contrast checker → · Palette generator →

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