#D4E562#D4E562

#D4E562 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.4% C 0.156 H 115.9°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#D4E562
RGBrgb(212, 229, 98)
HSLhsl(68, 72%, 64%)
HSVhsv(68, 57%, 90%)
CMYKcmyk(7.4%, 0%, 57.2%, 10.2%)
CIE-LABlab(87.45, -23.31, 60.61)
CIE-LCHlch(87.45, 64.94, 111.04°)
OKLaboklab(88.37% -0.068 0.1403)
OKLCHoklch(88.37% 0.156 115.9)
XYZxyz(57.3764, 70.9183, 22.2189)
Luminance0.7092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E562 #7362E5
analogous
#E5B562 #D4E562 #93E562
triadic
#D4E562 #62D4E5 #E562D4
tetradic
#D4E562 #62E5B5 #7362E5 #E56293
square
#D4E562 #62E5B5 #7362E5 #E56293
split-complementary
#D4E562 #6293E5 #B562E5
monochromatic
#9DB01D #C6DC2D #D4E562 #E2EE97 #F1F6CB

Accessibility & contrast

On white

1.38
#D4E562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#D4E562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E562
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E562#FFFFFF#000000##000000
##D4E5621.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F2DC6A
Tritanopia (blue-blind)
#E0D9C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d4e562;
/* rgb */ color: rgb(212, 229, 98);
/* oklch */ color: oklch(88.4% 0.156 115.9);
Tailwind
colors: {
  custom: {
    50: '#e4ed93',
    500: '#d4e562',
    950: '#000000',
  },
}
SCSS
$custom: #d4e562;
$custom-light: #e4ed93;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e562",
  "rgb": {
    "r": 212,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 67.786,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88371,
    "c": 0.15592,
    "h": 115.9
  },
  "luminance": 0.70918
}

Semantic roles & 50–950 ramp

primary
#D4E562
secondary
#4A3BB1
accent
#12D42B
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D4E562

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

Preview Lab → · Contrast checker → · Palette generator →

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