#D2E478#D2E478

#D2E478 is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 88.3% C 0.135 H 117.0°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#D2E478
RGBrgb(210, 228, 120)
HSLhsl(70, 67%, 68%)
HSVhsv(70, 47%, 89%)
CMYKcmyk(7.9%, 0%, 47.4%, 10.6%)
CIE-LABlab(87.26, -21.70, 50.34)
CIE-LCHlch(87.26, 54.82, 113.32°)
OKLaboklab(88.27% -0.0613 0.1201)
OKLCHoklch(88.27% 0.135 117)
XYZxyz(57.7125, 70.5450, 28.3419)
Luminance0.7055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E478 #8A78E4
analogous
#E4C078 #D2E478 #9CE478
triadic
#D2E478 #78D2E4 #E478D2
tetradic
#D2E478 #78E4C0 #8A78E4 #E4789C
square
#D2E478 #78E4C0 #8A78E4 #E4789C
split-complementary
#D2E478 #789CE4 #C078E4
monochromatic
#A3BC26 #C1DA45 #D2E478 #E3EEAB #F4F8DE

Accessibility & contrast

On white

1.39
#D2E478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#D2E478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E478
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E478#FFFFFF#000000##000000
##D2E4781.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA6F
Deuteranopia (green-blind)
#EFDB7E
Tritanopia (blue-blind)
#DCDACB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d2e478;
/* rgb */ color: rgb(210, 228, 120);
/* oklch */ color: oklch(88.3% 0.135 117.0);
Tailwind
colors: {
  custom: {
    50: '#e1eca1',
    500: '#d2e478',
    950: '#000000',
  },
}
SCSS
$custom: #d2e478;
$custom-light: #e1eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e478",
  "rgb": {
    "r": 210,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 70,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88265,
    "c": 0.13489,
    "h": 117
  },
  "luminance": 0.70545
}

Semantic roles & 50–950 ramp

primary
#D2E478
secondary
#5945BB
accent
#17CF36
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D2E478

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

Preview Lab → · Contrast checker → · Palette generator →

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