#D2E57F#D2E57F

#D2E57F is a very light, vivid yellow-green. Relative luminance 0.713; OKLCH L 88.6% C 0.129 H 117.8°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#D2E57F
RGBrgb(210, 229, 127)
HSLhsl(71, 66%, 70%)
HSVhsv(71, 45%, 90%)
CMYKcmyk(8.3%, 0%, 44.5%, 10.2%)
CIE-LABlab(87.62, -21.49, 47.43)
CIE-LCHlch(87.62, 52.07, 114.37°)
OKLaboklab(88.58% -0.0601 0.1142)
OKLCHoklch(88.58% 0.129 117.8)
XYZxyz(58.4289, 71.2730, 30.7536)
Luminance0.7127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E57F #927FE5
analogous
#E5C57F #D2E57F #9FE57F
triadic
#D2E57F #7FD2E5 #E57FD2
tetradic
#D2E57F #7FE5C5 #927FE5 #E57F9F
square
#D2E57F #7FE5C5 #927FE5 #E57F9F
split-complementary
#D2E57F #7F9FE5 #C57FE5
monochromatic
#A5C227 #C0DB4C #D2E57F #E4EFB2 #F6FAE5

Accessibility & contrast

On white

1.38
#D2E57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#D2E57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E57F
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E57F#FFFFFF#000000##000000
##D2E57F1.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB77
Deuteranopia (green-blind)
#EFDC84
Tritanopia (blue-blind)
#DBDBCD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e57f;
/* rgb */ color: rgb(210, 229, 127);
/* oklch */ color: oklch(88.6% 0.129 117.8);
Tailwind
colors: {
  custom: {
    50: '#e1eda6',
    500: '#d2e57f',
    950: '#000000',
  },
}
SCSS
$custom: #d2e57f;
$custom-light: #e1eda6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e57f",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 127
  },
  "hsl": {
    "h": 71.176,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88575,
    "c": 0.12902,
    "h": 117.8
  },
  "luminance": 0.71273
}

Semantic roles & 50–950 ramp

primary
#D2E57F
secondary
#604BBD
accent
#17CE39
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #D2E57F

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

Preview Lab → · Contrast checker → · Palette generator →

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