#D4EC4F#D4EC4F

#D4EC4F is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 89.7% C 0.178 H 117.6°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#D4EC4F
RGBrgb(212, 236, 79)
HSLhsl(69, 81%, 62%)
HSVhsv(69, 67%, 93%)
CMYKcmyk(10.2%, 0%, 66.5%, 7.5%)
CIE-LABlab(89.18, -27.92, 70.18)
CIE-LCHlch(89.18, 75.53, 111.69°)
OKLaboklab(89.72% -0.0828 0.158)
OKLCHoklch(89.72% 0.178 117.6)
XYZxyz(58.5593, 74.5531, 18.7009)
Luminance0.7455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EC4F #674FEC
analogous
#ECB64F #D4EC4F #86EC4F
triadic
#D4EC4F #4FD4EC #EC4FD4
tetradic
#D4EC4F #4FECB6 #674FEC #EC4F86
square
#D4EC4F #4FECB6 #674FEC #EC4F86
split-complementary
#D4EC4F #4F86EC #B64FEC
monochromatic
#96AE13 #C6E519 #D4EC4F #E1F286 #EFF8BD

Accessibility & contrast

On white

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

On black

15.91
#D4EC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EC4F
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EC4F#FFFFFF#000000##000000
##D4EC4F1.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE038
Deuteranopia (green-blind)
#F9E15B
Tritanopia (blue-blind)
#E0DFCC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4ec4f;
/* rgb */ color: rgb(212, 236, 79);
/* oklch */ color: oklch(89.7% 0.178 117.6);
Tailwind
colors: {
  custom: {
    50: '#e5f288',
    500: '#d4ec4f',
    950: '#000000',
  },
}
SCSS
$custom: #d4ec4f;
$custom-light: #e5f288;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ec4f",
  "rgb": {
    "r": 212,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 69.172,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89717,
    "c": 0.1784,
    "h": 117.6
  },
  "luminance": 0.74552
}

Semantic roles & 50–950 ramp

primary
#D4EC4F
secondary
#4431AE
accent
#09DD29
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D4EC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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