#D8EC74#D8EC74

#D8EC74 is a very light, vivid yellow-green. Relative luminance 0.759; OKLCH L 90.4% C 0.147 H 117.3°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#D8EC74
RGBrgb(216, 236, 116)
HSLhsl(70, 76%, 69%)
HSVhsv(70, 51%, 93%)
CMYKcmyk(8.5%, 0%, 50.8%, 7.5%)
CIE-LABlab(89.79, -23.61, 55.33)
CIE-LCHlch(89.79, 60.16, 113.10°)
OKLaboklab(90.38% -0.0674 0.1307)
OKLCHoklch(90.38% 0.147 117.3)
XYZxyz(61.4675, 75.8513, 27.9223)
Luminance0.7585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC74 #8874EC
analogous
#ECC474 #D8EC74 #9CEC74
triadic
#D8EC74 #74D8EC #EC74D8
tetradic
#D8EC74 #74ECC4 #8874EC #EC749C
square
#D8EC74 #74ECC4 #8874EC #EC749C
split-complementary
#D8EC74 #749CEC #C474EC
monochromatic
#ADCA1C #C9E53E #D8EC74 #E7F3AA #F6FBE0

Accessibility & contrast

On white

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

On black

16.17
#D8EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC74
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC74#FFFFFF#000000##000000
##D8EC741.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE169
Deuteranopia (green-blind)
#F7E37B
Tritanopia (blue-blind)
#E3E1D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d8ec74;
/* rgb */ color: rgb(216, 236, 116);
/* oklch */ color: oklch(90.4% 0.147 117.3);
Tailwind
colors: {
  custom: {
    50: '#e6f29f',
    500: '#d8ec74',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec74;
$custom-light: #e6f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec74",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 70,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90379,
    "c": 0.14701,
    "h": 117.3
  },
  "luminance": 0.75851
}

Semantic roles & 50–950 ramp

primary
#D8EC74
secondary
#5640C5
accent
#0DD82F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D8EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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