#D7EC7A#D7EC7A

#D7EC7A is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 90.4% C 0.142 H 117.9°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#D7EC7A
RGBrgb(215, 236, 122)
HSLhsl(71, 75%, 70%)
HSVhsv(71, 48%, 93%)
CMYKcmyk(8.9%, 0%, 48.3%, 7.5%)
CIE-LABlab(89.79, -23.44, 52.53)
CIE-LCHlch(89.79, 57.52, 114.04°)
OKLaboklab(90.38% -0.0663 0.1251)
OKLCHoklch(90.38% 0.142 117.9)
XYZxyz(61.5332, 75.8436, 29.8062)
Luminance0.7584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC7A #8F7AEC
analogous
#ECC87A #D7EC7A #9EEC7A
triadic
#D7EC7A #7AD7EC #EC7AD7
tetradic
#D7EC7A #7AECC8 #8F7AEC #EC7A9E
square
#D7EC7A #7AECC8 #8F7AEC #EC7A9E
split-complementary
#D7EC7A #7A9EEC #C87AEC
monochromatic
#AECE1D #C7E444 #D7EC7A #E7F4B0 #F7FBE4

Accessibility & contrast

On white

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

On black

16.17
#D7EC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EC7A
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EC7A#FFFFFF#000000##000000
##D7EC7A1.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E170
Deuteranopia (green-blind)
#F7E280
Tritanopia (blue-blind)
#E1E1D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d7ec7a;
/* rgb */ color: rgb(215, 236, 122);
/* oklch */ color: oklch(90.4% 0.142 117.9);
Tailwind
colors: {
  custom: {
    50: '#e5f2a3',
    500: '#d7ec7a',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec7a;
$custom-light: #e5f2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec7a",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 122
  },
  "hsl": {
    "h": 71.053,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9038,
    "c": 0.14154,
    "h": 117.9
  },
  "luminance": 0.75843
}

Semantic roles & 50–950 ramp

primary
#D7EC7A
secondary
#5D45C5
accent
#0ED733
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D7EC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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