#D2F679#D2F679

#D2F679 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.2% C 0.157 H 122.8°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#D2F679
RGBrgb(210, 246, 121)
HSLhsl(77, 87%, 72%)
HSVhsv(77, 51%, 96%)
CMYKcmyk(14.6%, 0%, 50.8%, 3.5%)
CIE-LABlab(92.13, -30.16, 55.71)
CIE-LCHlch(92.13, 63.35, 118.43°)
OKLaboklab(92.17% -0.085 0.132)
OKLCHoklch(92.17% 0.157 122.8)
XYZxyz(62.9855, 80.9935, 30.4005)
Luminance0.8099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F679 #9D79F6
analogous
#F6DC79 #D2F679 #94F679
triadic
#D2F679 #79D2F6 #F679D2
tetradic
#D2F679 #79F6DC #9D79F6 #F67994
square
#D2F679 #79F6DC #9D79F6 #F67994
split-complementary
#D2F679 #7994F6 #DC79F6
monochromatic
#A8E50F #BFF240 #D2F679 #E5FAB2 #F5FDE2

Accessibility & contrast

On white

1.22
#D2F679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#D2F679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F679
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F679#FFFFFF#000000##000000
##D2F6791.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96D
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#DAECDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d2f679;
/* rgb */ color: rgb(210, 246, 121);
/* oklch */ color: oklch(92.2% 0.157 122.8);
Tailwind
colors: {
  custom: {
    50: '#e2f9a3',
    500: '#d2f679',
    950: '#000000',
  },
}
SCSS
$custom: #d2f679;
$custom-light: #e2f9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f679",
  "rgb": {
    "r": 210,
    "g": 246,
    "b": 121
  },
  "hsl": {
    "h": 77.28,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9217,
    "c": 0.15702,
    "h": 122.8
  },
  "luminance": 0.80994
}

Semantic roles & 50–950 ramp

primary
#D2F679
secondary
#6B42D1
accent
#02E443
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F679

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

Preview Lab → · Contrast checker → · Palette generator →

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