#D2F278#D2F278

#D2F278 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.3% C 0.153 H 121.6°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#D2F278
RGBrgb(210, 242, 120)
HSLhsl(76, 82%, 71%)
HSVhsv(76, 50%, 95%)
CMYKcmyk(13.2%, 0%, 50.4%, 5.1%)
CIE-LABlab(91.04, -28.38, 54.87)
CIE-LCHlch(91.04, 61.77, 117.35°)
OKLaboklab(91.29% -0.0801 0.1301)
OKLCHoklch(91.29% 0.153 121.6)
XYZxyz(61.7210, 78.5619, 29.6780)
Luminance0.7856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F278 #9878F2
analogous
#F2D578 #D2F278 #95F278
triadic
#D2F278 #78D2F2 #F278D2
tetradic
#D2F278 #78F2D5 #9878F2 #F27895
square
#D2F278 #78F2D5 #9878F2 #F27895
split-complementary
#D2F278 #7895F2 #D578F2
monochromatic
#A7DB15 #BFED40 #D2F278 #E5F7B0 #F6FCE3

Accessibility & contrast

On white

1.26
#D2F278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#D2F278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F278
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F278#FFFFFF#000000##000000
##D2F2781.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66D
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#DBE8D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d2f278;
/* rgb */ color: rgb(210, 242, 120);
/* oklch */ color: oklch(91.3% 0.153 121.6);
Tailwind
colors: {
  custom: {
    50: '#e2f6a2',
    500: '#d2f278',
    950: '#000000',
  },
}
SCSS
$custom: #d2f278;
$custom-light: #e2f6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f278",
  "rgb": {
    "r": 210,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 75.738,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91288,
    "c": 0.15278,
    "h": 121.6
  },
  "luminance": 0.78562
}

Semantic roles & 50–950 ramp

primary
#D2F278
secondary
#6642CC
accent
#07DF3F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F278

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

Preview Lab → · Contrast checker → · Palette generator →

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