#D9EC4F#D9EC4F

#D9EC4F is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.1% C 0.177 H 116.0°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#D9EC4F
RGBrgb(217, 236, 79)
HSLhsl(67, 81%, 62%)
HSVhsv(67, 67%, 93%)
CMYKcmyk(8.1%, 0%, 66.5%, 7.5%)
CIE-LABlab(89.54, -25.93, 70.65)
CIE-LCHlch(89.54, 75.26, 110.15°)
OKLaboklab(90.09% -0.0775 0.1589)
OKLCHoklch(90.09% 0.177 116)
XYZxyz(60.0234, 75.3080, 18.7695)
Luminance0.7531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC4F #624FEC
analogous
#ECB14F #D9EC4F #8BEC4F
triadic
#D9EC4F #4FD9EC #EC4FD9
tetradic
#D9EC4F #4FECB1 #624FEC #EC4F8B
square
#D9EC4F #4FECB1 #624FEC #EC4F8B
split-complementary
#D9EC4F #4F8BEC #B14FEC
monochromatic
#9BAE13 #CCE519 #D9EC4F #E5F286 #F1F8BD

Accessibility & contrast

On white

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

On black

16.06
#D9EC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC4F
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC4F#FFFFFF#000000##000000
##D9EC4F1.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE038
Deuteranopia (green-blind)
#FAE25B
Tritanopia (blue-blind)
#E6DFCC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d9ec4f;
/* rgb */ color: rgb(217, 236, 79);
/* oklch */ color: oklch(90.1% 0.177 116.0);
Tailwind
colors: {
  custom: {
    50: '#e8f289',
    500: '#d9ec4f',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec4f;
$custom-light: #e8f289;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec4f",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 67.261,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.9009,
    "c": 0.1768,
    "h": 116
  },
  "luminance": 0.75307
}

Semantic roles & 50–950 ramp

primary
#D9EC4F
secondary
#4031AE
accent
#09DD22
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9EC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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