#D2F279#D2F279

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

Color values

HEX#D2F279
RGBrgb(210, 242, 121)
HSLhsl(76, 82%, 71%)
HSVhsv(76, 50%, 95%)
CMYKcmyk(13.2%, 0%, 50%, 5.1%)
CIE-LABlab(91.05, -28.29, 54.42)
CIE-LCHlch(91.05, 61.33, 117.46°)
OKLaboklab(91.3% -0.0798 0.1292)
OKLCHoklch(91.3% 0.152 121.7)
XYZxyz(61.7820, 78.5864, 29.9993)
Luminance0.7859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F279 #9979F2
analogous
#F2D579 #D2F279 #95F279
triadic
#D2F279 #79D2F2 #F279D2
tetradic
#D2F279 #79F2D5 #9979F2 #F27995
square
#D2F279 #79F2D5 #9979F2 #F27995
split-complementary
#D2F279 #7995F2 #D579F2
monochromatic
#A7DB15 #BFED41 #D2F279 #E5F7B1 #F6FCE3

Accessibility & contrast

On white

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

On black

16.72
#D2F279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F279
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F279#FFFFFF#000000##000000
##D2F2791.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f279;
/* rgb */ color: rgb(210, 242, 121);
/* oklch */ color: oklch(91.3% 0.152 121.7);
Tailwind
colors: {
  custom: {
    50: '#e2f6a2',
    500: '#d2f279',
    950: '#000000',
  },
}
SCSS
$custom: #d2f279;
$custom-light: #e2f6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f279",
  "rgb": {
    "r": 210,
    "g": 242,
    "b": 121
  },
  "hsl": {
    "h": 75.868,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91301,
    "c": 0.15183,
    "h": 121.7
  },
  "luminance": 0.78586
}

Semantic roles & 50–950 ramp

primary
#D2F279
secondary
#6743CC
accent
#07DF40
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F279

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

Preview Lab → · Contrast checker → · Palette generator →

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