#D2EB78#D2EB78

#D2EB78 is a very light, vivid yellow-green. Relative luminance 0.745; OKLCH L 89.8% C 0.144 H 119.5°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#D2EB78
RGBrgb(210, 235, 120)
HSLhsl(73, 74%, 70%)
HSVhsv(73, 49%, 92%)
CMYKcmyk(10.6%, 0%, 48.9%, 7.8%)
CIE-LABlab(89.15, -25.07, 52.61)
CIE-LCHlch(89.15, 58.28, 115.48°)
OKLaboklab(89.77% -0.0708 0.1251)
OKLCHoklch(89.77% 0.144 119.5)
XYZxyz(59.6773, 74.4746, 28.9968)
Luminance0.7447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EB78 #9178EB
analogous
#EBCA78 #D2EB78 #99EB78
triadic
#D2EB78 #78D2EB #EB78D2
tetradic
#D2EB78 #78EBCA #9178EB #EB7899
square
#D2EB78 #78EBCA #9178EB #EB7899
split-complementary
#D2EB78 #7899EB #CA78EB
monochromatic
#A5CB1E #C0E343 #D2EB78 #E4F3AD #F6FBE3

Accessibility & contrast

On white

1.32
#D2EB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#D2EB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EB78
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EB78#FFFFFF#000000##000000
##D2EB781.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06E
Deuteranopia (green-blind)
#F5E07E
Tritanopia (blue-blind)
#DBE1D1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2eb78;
/* rgb */ color: rgb(210, 235, 120);
/* oklch */ color: oklch(89.8% 0.144 119.5);
Tailwind
colors: {
  custom: {
    50: '#e2f1a1',
    500: '#d2eb78',
    950: '#000000',
  },
}
SCSS
$custom: #d2eb78;
$custom-light: #e2f1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2eb78",
  "rgb": {
    "r": 210,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 73.043,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89772,
    "c": 0.14379,
    "h": 119.5
  },
  "luminance": 0.74474
}

Semantic roles & 50–950 ramp

primary
#D2EB78
secondary
#5F44C4
accent
#0FD63A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D2EB78

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

Preview Lab → · Contrast checker → · Palette generator →

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