#D2F678#D2F678

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

Color values

HEX#D2F678
RGBrgb(210, 246, 120)
HSLhsl(77, 88%, 72%)
HSVhsv(77, 51%, 96%)
CMYKcmyk(14.6%, 0%, 51.2%, 3.5%)
CIE-LABlab(92.12, -30.25, 56.15)
CIE-LCHlch(92.12, 63.78, 118.31°)
OKLaboklab(92.16% -0.0854 0.1329)
OKLCHoklch(92.16% 0.158 122.7)
XYZxyz(62.9245, 80.9691, 30.0792)
Luminance0.8097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F678 #9C78F6
analogous
#F6DB78 #D2F678 #93F678
triadic
#D2F678 #78D2F6 #F678D2
tetradic
#D2F678 #78F6DB #9C78F6 #F67893
square
#D2F678 #78F6DB #9C78F6 #F67893
split-complementary
#D2F678 #7893F6 #DB78F6
monochromatic
#A7E40F #BFF23F #D2F678 #E5FAB1 #F5FDE2

Accessibility & contrast

On white

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

On black

17.19
#D2F678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F678
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F678#FFFFFF#000000##000000
##D2F6781.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#FEE87F
Tritanopia (blue-blind)
#DBECD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d2f678;
/* rgb */ color: rgb(210, 246, 120);
/* oklch */ color: oklch(92.2% 0.158 122.7);
Tailwind
colors: {
  custom: {
    50: '#e2f9a2',
    500: '#d2f678',
    950: '#000000',
  },
}
SCSS
$custom: #d2f678;
$custom-light: #e2f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f678",
  "rgb": {
    "r": 210,
    "g": 246,
    "b": 120
  },
  "hsl": {
    "h": 77.143,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92158,
    "c": 0.15795,
    "h": 122.7
  },
  "luminance": 0.80969
}

Semantic roles & 50–950 ramp

primary
#D2F678
secondary
#6A41D1
accent
#01E442
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F678

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

Preview Lab → · Contrast checker → · Palette generator →

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