#D2EC98#D2EC98

#D2EC98 is a very light, moderate yellow-green. Relative luminance 0.760; OKLCH L 90.5% C 0.111 H 122.6°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#D2EC98
RGBrgb(210, 236, 152)
HSLhsl(79, 69%, 76%)
HSVhsv(79, 36%, 93%)
CMYKcmyk(11%, 0%, 35.6%, 7.5%)
CIE-LABlab(89.84, -22.02, 37.96)
CIE-LCHlch(89.84, 43.89, 120.11°)
OKLaboklab(90.47% -0.06 0.0938)
OKLCHoklch(90.47% 0.111 122.6)
XYZxyz(62.2410, 75.9594, 41.0823)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC98 #B298EC
analogous
#ECDC98 #D2EC98 #A8EC98
triadic
#D2EC98 #98D2EC #EC98D2
tetradic
#D2EC98 #98ECDC #B298EC #EC98A8
square
#D2EC98 #98ECDC #B298EC #EC98A8
split-complementary
#D2EC98 #98A8EC #DC98EC
monochromatic
#A5D931 #BBE264 #D2EC98 #E9F6CC #F4FAE5

Accessibility & contrast

On white

1.30
#D2EC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#D2EC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC98
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC98#FFFFFF#000000##000000
##D2EC981.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E392
Deuteranopia (green-blind)
#F2E29C
Tritanopia (blue-blind)
#D8E4D7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d2ec98;
/* rgb */ color: rgb(210, 236, 152);
/* oklch */ color: oklch(90.5% 0.111 122.6);
Tailwind
colors: {
  custom: {
    50: '#e1f2b7',
    500: '#d2ec98',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec98;
$custom-light: #e1f2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec98",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 78.571,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90467,
    "c": 0.11135,
    "h": 122.6
  },
  "luminance": 0.7596
}

Semantic roles & 50–950 ramp

primary
#D2EC98
secondary
#8061C8
accent
#15D14F
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D2EC98

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

Preview Lab → · Contrast checker → · Palette generator →

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