#D4E17A#D4E17A

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

Color values

HEX#D4E17A
RGBrgb(212, 225, 122)
HSLhsl(68, 63%, 68%)
HSVhsv(68, 46%, 88%)
CMYKcmyk(5.8%, 0%, 45.8%, 11.8%)
CIE-LABlab(86.63, -19.27, 48.65)
CIE-LCHlch(86.63, 52.33, 111.61°)
OKLaboklab(87.8% -0.0544 0.1165)
OKLCHoklch(87.8% 0.129 115)
XYZxyz(57.5901, 69.2533, 28.7420)
Luminance0.6925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E17A #877AE1
analogous
#E1BA7A #D4E17A #A0E17A
triadic
#D4E17A #7AD4E1 #E17AD4
tetradic
#D4E17A #7AE1BA #877AE1 #E17AA0
square
#D4E17A #7AE1BA #877AE1 #E17AA0
split-complementary
#D4E17A #7AA0E1 #BA7AE1
monochromatic
#A5B729 #C4D648 #D4E17A #E4ECAC #F4F8DE

Accessibility & contrast

On white

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

On black

14.85
#D4E17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E17A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E17A#FFFFFF#000000##000000
##D4E17A1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e17a;
/* rgb */ color: rgb(212, 225, 122);
/* oklch */ color: oklch(87.8% 0.129 115.0);
Tailwind
colors: {
  custom: {
    50: '#e3eaa2',
    500: '#d4e17a',
    950: '#000000',
  },
}
SCSS
$custom: #d4e17a;
$custom-light: #e3eaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e17a",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 67.573,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87801,
    "c": 0.12858,
    "h": 115
  },
  "luminance": 0.69253
}

Semantic roles & 50–950 ramp

primary
#D4E17A
secondary
#5547B8
accent
#1BCB31
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D4E17A

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

Preview Lab → · Contrast checker → · Palette generator →

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