#D4EC5C#D4EC5C

#D4EC5C is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.8% C 0.169 H 118.0°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#D4EC5C
RGBrgb(212, 236, 92)
HSLhsl(70, 79%, 64%)
HSVhsv(70, 61%, 93%)
CMYKcmyk(10.2%, 0%, 61%, 7.5%)
CIE-LABlab(89.28, -27.08, 65.16)
CIE-LCHlch(89.28, 70.57, 112.57°)
OKLaboklab(89.83% -0.0792 0.1493)
OKLCHoklch(89.83% 0.169 118)
XYZxyz(59.0796, 74.7612, 21.4412)
Luminance0.7476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EC5C #745CEC
analogous
#ECBC5C #D4EC5C #8CEC5C
triadic
#D4EC5C #5CD4EC #EC5CD4
tetradic
#D4EC5C #5CECBC #745CEC #EC5C8C
square
#D4EC5C #5CECBC #745CEC #EC5C8C
split-complementary
#D4EC5C #5C8CEC #BC5CEC
monochromatic
#9DB815 #C6E625 #D4EC5C #E2F293 #F1F9CA

Accessibility & contrast

On white

1.32
#D4EC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#D4EC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EC5C
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EC5C#FFFFFF#000000##000000
##D4EC5C1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE04B
Deuteranopia (green-blind)
#F8E166
Tritanopia (blue-blind)
#E0E0CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4ec5c;
/* rgb */ color: rgb(212, 236, 92);
/* oklch */ color: oklch(89.8% 0.169 118.0);
Tailwind
colors: {
  custom: {
    50: '#e4f290',
    500: '#d4ec5c',
    950: '#000000',
  },
}
SCSS
$custom: #d4ec5c;
$custom-light: #e4f290;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ec5c",
  "rgb": {
    "r": 212,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 70,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89827,
    "c": 0.16897,
    "h": 118
  },
  "luminance": 0.74761
}

Semantic roles & 50–950 ramp

primary
#D4EC5C
secondary
#4A35B8
accent
#0ADB2D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4EC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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