#D4E17D#D4E17D

#D4E17D is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.8% C 0.125 H 115.1°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#D4E17D
RGBrgb(212, 225, 125)
HSLhsl(68, 63%, 69%)
HSVhsv(68, 44%, 88%)
CMYKcmyk(5.8%, 0%, 44.4%, 11.8%)
CIE-LABlab(86.67, -18.97, 47.25)
CIE-LCHlch(86.67, 50.92, 111.87°)
OKLaboklab(87.84% -0.0532 0.1136)
OKLCHoklch(87.84% 0.125 115.1)
XYZxyz(57.7789, 69.3288, 29.7361)
Luminance0.6933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E17D #8A7DE1
analogous
#E1BC7D #D4E17D #A2E17D
triadic
#D4E17D #7DD4E1 #E17DD4
tetradic
#D4E17D #7DE1BC #8A7DE1 #E17DA2
square
#D4E17D #7DE1BC #8A7DE1 #E17DA2
split-complementary
#D4E17D #7DA2E1 #BC7DE1
monochromatic
#A6B92B #C4D64B #D4E17D #E4ECAF #F5F8E0

Accessibility & contrast

On white

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

On black

14.87
#D4E17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E17D
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E17D#FFFFFF#000000##000000
##D4E17D1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD875
Deuteranopia (green-blind)
#EDDA82
Tritanopia (blue-blind)
#DED7C9
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e17d;
/* rgb */ color: rgb(212, 225, 125);
/* oklch */ color: oklch(87.8% 0.125 115.1);
Tailwind
colors: {
  custom: {
    50: '#e3eaa4',
    500: '#d4e17d',
    950: '#000000',
  },
}
SCSS
$custom: #d4e17d;
$custom-light: #e3eaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e17d",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 125
  },
  "hsl": {
    "h": 67.8,
    "s": 62.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87843,
    "c": 0.12547,
    "h": 115.1
  },
  "luminance": 0.69328
}

Semantic roles & 50–950 ramp

primary
#D4E17D
secondary
#584AB8
accent
#1BCA32
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#16160F
muted
#848480

Preview Lab

Preview with #D4E17D

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

Preview Lab → · Contrast checker → · Palette generator →

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