#D2E97C#D2E97C

#D2E97C is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.4% C 0.137 H 119.1°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#D2E97C
RGBrgb(210, 233, 124)
HSLhsl(73, 71%, 70%)
HSVhsv(73, 47%, 91%)
CMYKcmyk(9.9%, 0%, 46.8%, 8.6%)
CIE-LABlab(88.65, -23.72, 50.14)
CIE-LCHlch(88.65, 55.46, 115.32°)
OKLaboklab(89.39% -0.0667 0.12)
OKLCHoklch(89.39% 0.137 119.1)
XYZxyz(59.3558, 73.4350, 30.1123)
Luminance0.7343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E97C #937CE9
analogous
#E9CA7C #D2E97C #9BE97C
triadic
#D2E97C #7CD2E9 #E97CD2
tetradic
#D2E97C #7CE9CA #937CE9 #E97C9B
square
#D2E97C #7CE9CA #937CE9 #E97C9B
split-complementary
#D2E97C #7C9BE9 #CA7CE9
monochromatic
#A6C922 #C0E048 #D2E97C #E4F2B0 #F6FBE5

Accessibility & contrast

On white

1.34
#D2E97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#D2E97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E97C
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E97C#FFFFFF#000000##000000
##D2E97C1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF73
Deuteranopia (green-blind)
#F2DF82
Tritanopia (blue-blind)
#DBDFD0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d2e97c;
/* rgb */ color: rgb(210, 233, 124);
/* oklch */ color: oklch(89.4% 0.137 119.1);
Tailwind
colors: {
  custom: {
    50: '#e1f0a4',
    500: '#d2e97c',
    950: '#000000',
  },
}
SCSS
$custom: #d2e97c;
$custom-light: #e1f0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e97c",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 72.661,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.89394,
    "c": 0.13726,
    "h": 119.1
  },
  "luminance": 0.73435
}

Semantic roles & 50–950 ramp

primary
#D2E97C
secondary
#6148C2
accent
#12D33B
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D2E97C

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

Preview Lab → · Contrast checker → · Palette generator →

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