#D2ED97#D2ED97

#D2ED97 is a very light, moderate yellow-green. Relative luminance 0.765; OKLCH L 90.7% C 0.114 H 122.9°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#D2ED97
RGBrgb(210, 237, 151)
HSLhsl(79, 70%, 76%)
HSVhsv(79, 36%, 93%)
CMYKcmyk(11.4%, 0%, 36.3%, 7.1%)
CIE-LABlab(90.09, -22.62, 38.79)
CIE-LCHlch(90.09, 44.91, 120.25°)
OKLaboklab(90.66% -0.0618 0.0957)
OKLCHoklch(90.66% 0.114 122.9)
XYZxyz(62.4481, 76.5043, 40.7490)
Luminance0.7650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ED97 #B297ED
analogous
#EDDD97 #D2ED97 #A7ED97
triadic
#D2ED97 #97D2ED #ED97D2
tetradic
#D2ED97 #97EDDD #B297ED #ED97A7
square
#D2ED97 #97EDDD #B297ED #ED97A7
split-complementary
#D2ED97 #97A7ED #DD97ED
monochromatic
#A5DB2F #BBE463 #D2ED97 #E9F6CB #F4FAE5

Accessibility & contrast

On white

1.29
#D2ED97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#D2ED97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ED97
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ED97#FFFFFF#000000##000000
##D2ED971.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E391
Deuteranopia (green-blind)
#F3E39B
Tritanopia (blue-blind)
#D8E5D7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d2ed97;
/* rgb */ color: rgb(210, 237, 151);
/* oklch */ color: oklch(90.7% 0.114 122.9);
Tailwind
colors: {
  custom: {
    50: '#e1f2b6',
    500: '#d2ed97',
    950: '#000000',
  },
}
SCSS
$custom: #d2ed97;
$custom-light: #e1f2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ed97",
  "rgb": {
    "r": 210,
    "g": 237,
    "b": 151
  },
  "hsl": {
    "h": 78.837,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90664,
    "c": 0.11389,
    "h": 122.9
  },
  "luminance": 0.76504
}

Semantic roles & 50–950 ramp

primary
#D2ED97
secondary
#805FC9
accent
#13D34F
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2ED97

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

Preview Lab → · Contrast checker → · Palette generator →

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