#D4EC8A#D4EC8A

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

Color values

HEX#D4EC8A
RGBrgb(212, 236, 138)
HSLhsl(75, 72%, 73%)
HSVhsv(75, 42%, 93%)
CMYKcmyk(10.2%, 0%, 41.5%, 7.5%)
CIE-LABlab(89.78, -22.92, 44.82)
CIE-LCHlch(89.78, 50.34, 117.09°)
OKLaboklab(90.39% -0.0635 0.1089)
OKLCHoklch(90.39% 0.126 120.2)
XYZxyz(61.7344, 75.8231, 35.4229)
Luminance0.7582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EC8A #A28AEC
analogous
#ECD38A #D4EC8A #A3EC8A
triadic
#D4EC8A #8AD4EC #EC8AD4
tetradic
#D4EC8A #8AECD3 #A28AEC #EC8AA3
square
#D4EC8A #8AECD3 #A28AEC #EC8AA3
split-complementary
#D4EC8A #8AA3EC #D38AEC
monochromatic
#ACD823 #C1E355 #D4EC8A #E7F5BF #F5FBE5

Accessibility & contrast

On white

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

On black

16.16
#D4EC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EC8A
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EC8A#FFFFFF#000000##000000
##D4EC8A1.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E282
Deuteranopia (green-blind)
#F4E28F
Tritanopia (blue-blind)
#DCE3D4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d4ec8a;
/* rgb */ color: rgb(212, 236, 138);
/* oklch */ color: oklch(90.4% 0.126 120.2);
Tailwind
colors: {
  custom: {
    50: '#e2f2ad',
    500: '#d4ec8a',
    950: '#000000',
  },
}
SCSS
$custom: #d4ec8a;
$custom-light: #e2f2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ec8a",
  "rgb": {
    "r": 212,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 74.694,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90385,
    "c": 0.12605,
    "h": 120.2
  },
  "luminance": 0.75823
}

Semantic roles & 50–950 ramp

primary
#D4EC8A
secondary
#7054C7
accent
#11D441
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #D4EC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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