#D4EC74#D4EC74

#D4EC74 is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 90.1% C 0.148 H 118.8°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#D4EC74
RGBrgb(212, 236, 116)
HSLhsl(72, 76%, 69%)
HSVhsv(72, 51%, 93%)
CMYKcmyk(10.2%, 0%, 50.8%, 7.5%)
CIE-LABlab(89.51, -25.15, 54.93)
CIE-LCHlch(89.51, 60.42, 114.60°)
OKLaboklab(90.08% -0.0715 0.1299)
OKLCHoklch(90.08% 0.148 118.8)
XYZxyz(60.2998, 75.2493, 27.8675)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EC74 #8C74EC
analogous
#ECC874 #D4EC74 #98EC74
triadic
#D4EC74 #74D4EC #EC74D4
tetradic
#D4EC74 #74ECC8 #8C74EC #EC7498
square
#D4EC74 #74ECC8 #8C74EC #EC7498
split-complementary
#D4EC74 #7498EC #C874EC
monochromatic
#A7CA1C #C3E53E #D4EC74 #E5F3AA #F5FBE0

Accessibility & contrast

On white

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

On black

16.05
#D4EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EC74
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EC74#FFFFFF#000000##000000
##D4EC741.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E169
Deuteranopia (green-blind)
#F6E27B
Tritanopia (blue-blind)
#DEE1D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d4ec74;
/* rgb */ color: rgb(212, 236, 116);
/* oklch */ color: oklch(90.1% 0.148 118.8);
Tailwind
colors: {
  custom: {
    50: '#e3f29f',
    500: '#d4ec74',
    950: '#000000',
  },
}
SCSS
$custom: #d4ec74;
$custom-light: #e3f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ec74",
  "rgb": {
    "r": 212,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 72,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90084,
    "c": 0.14824,
    "h": 118.8
  },
  "luminance": 0.75249
}

Semantic roles & 50–950 ramp

primary
#D4EC74
secondary
#5A40C5
accent
#0DD836
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D4EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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