#D4E17F#D4E17F

#D4E17F is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 87.9% C 0.123 H 115.2°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#D4E17F
RGBrgb(212, 225, 127)
HSLhsl(68, 62%, 69%)
HSVhsv(68, 44%, 88%)
CMYKcmyk(5.8%, 0%, 43.6%, 11.8%)
CIE-LABlab(86.69, -18.76, 46.32)
CIE-LCHlch(86.69, 49.97, 112.06°)
OKLaboklab(87.87% -0.0525 0.1117)
OKLCHoklch(87.87% 0.123 115.2)
XYZxyz(57.9079, 69.3805, 30.4157)
Luminance0.6938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E17F #8C7FE1
analogous
#E1BD7F #D4E17F #A3E17F
triadic
#D4E17F #7FD4E1 #E17FD4
tetradic
#D4E17F #7FE1BD #8C7FE1 #E17FA3
square
#D4E17F #7FE1BD #8C7FE1 #E17FA3
split-complementary
#D4E17F #7FA3E1 #BD7FE1
monochromatic
#A7BA2C #C3D54D #D4E17F #E5EDB1 #F5F8E2

Accessibility & contrast

On white

1.41
#D4E17F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#D4E17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E17F
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E17F#FFFFFF#000000##000000
##D4E17F1.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD877
Deuteranopia (green-blind)
#ECDA84
Tritanopia (blue-blind)
#DED7CA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e17f;
/* rgb */ color: rgb(212, 225, 127);
/* oklch */ color: oklch(87.9% 0.123 115.2);
Tailwind
colors: {
  custom: {
    50: '#e3eaa6',
    500: '#d4e17f',
    950: '#000000',
  },
}
SCSS
$custom: #d4e17f;
$custom-light: #e3eaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e17f",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 127
  },
  "hsl": {
    "h": 67.959,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87872,
    "c": 0.12338,
    "h": 115.2
  },
  "luminance": 0.6938
}

Semantic roles & 50–950 ramp

primary
#D4E17F
secondary
#5A4CB8
accent
#1CCA33
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#16160F
muted
#848480

Preview Lab

Preview with #D4E17F

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

Preview Lab → · Contrast checker → · Palette generator →

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