#D4EC6F#D4EC6F

#D4EC6F is a very light, vivid yellow-green. Relative luminance 0.751; OKLCH L 90.0% C 0.153 H 118.6°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#D4EC6F
RGBrgb(212, 236, 111)
HSLhsl(72, 77%, 68%)
HSVhsv(72, 53%, 93%)
CMYKcmyk(10.2%, 0%, 53%, 7.5%)
CIE-LABlab(89.46, -25.60, 57.15)
CIE-LCHlch(89.46, 62.62, 114.13°)
OKLaboklab(90.02% -0.0732 0.1342)
OKLCHoklch(90.02% 0.153 118.6)
XYZxyz(60.0168, 75.1360, 26.3768)
Luminance0.7514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EC6F #876FEC
analogous
#ECC56F #D4EC6F #95EC6F
triadic
#D4EC6F #6FD4EC #EC6FD4
tetradic
#D4EC6F #6FECC5 #876FEC #EC6F95
square
#D4EC6F #6FECC5 #876FEC #EC6F95
split-complementary
#D4EC6F #6F95EC #C56FEC
monochromatic
#A5C61A #C4E539 #D4EC6F #E4F3A5 #F4FADB

Accessibility & contrast

On white

1.31
#D4EC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#D4EC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EC6F
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EC6F#FFFFFF#000000##000000
##D4EC6F1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E163
Deuteranopia (green-blind)
#F7E176
Tritanopia (blue-blind)
#DEE1D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d4ec6f;
/* rgb */ color: rgb(212, 236, 111);
/* oklch */ color: oklch(90.0% 0.153 118.6);
Tailwind
colors: {
  custom: {
    50: '#e3f29c',
    500: '#d4ec6f',
    950: '#000000',
  },
}
SCSS
$custom: #d4ec6f;
$custom-light: #e3f29c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ec6f",
  "rgb": {
    "r": 212,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 71.52,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90024,
    "c": 0.15289,
    "h": 118.6
  },
  "luminance": 0.75136
}

Semantic roles & 50–950 ramp

primary
#D4EC6F
secondary
#553BC4
accent
#0DD934
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D4EC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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