#D7EC72#D7EC72

#D7EC72 is a very light, vivid yellow-green. Relative luminance 0.757; OKLCH L 90.3% C 0.149 H 117.6°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#D7EC72
RGBrgb(215, 236, 114)
HSLhsl(70, 76%, 69%)
HSVhsv(70, 52%, 93%)
CMYKcmyk(8.9%, 0%, 51.7%, 7.5%)
CIE-LABlab(89.70, -24.17, 56.12)
CIE-LCHlch(89.70, 61.10, 113.30°)
OKLaboklab(90.28% -0.0691 0.1322)
OKLCHoklch(90.28% 0.149 117.6)
XYZxyz(61.0578, 75.6534, 27.3023)
Luminance0.7565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC72 #8772EC
analogous
#ECC472 #D7EC72 #9AEC72
triadic
#D7EC72 #72D7EC #EC72D7
tetradic
#D7EC72 #72ECC4 #8772EC #EC729A
square
#D7EC72 #72ECC4 #8772EC #EC729A
split-complementary
#D7EC72 #729AEC #C472EC
monochromatic
#ABC91B #C8E53C #D7EC72 #E6F3A8 #F6FBDE

Accessibility & contrast

On white

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

On black

16.13
#D7EC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EC72
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EC72#FFFFFF#000000##000000
##D7EC721.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE166
Deuteranopia (green-blind)
#F7E279
Tritanopia (blue-blind)
#E2E1D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ec72;
/* rgb */ color: rgb(215, 236, 114);
/* oklch */ color: oklch(90.3% 0.149 117.6);
Tailwind
colors: {
  custom: {
    50: '#e5f29e',
    500: '#d7ec72',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec72;
$custom-light: #e5f29e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec72",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 114
  },
  "hsl": {
    "h": 70.328,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90281,
    "c": 0.14919,
    "h": 117.6
  },
  "luminance": 0.75653
}

Semantic roles & 50–950 ramp

primary
#D7EC72
secondary
#553EC4
accent
#0DD830
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D7EC72

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

Preview Lab → · Contrast checker → · Palette generator →

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