#D4E572#D4E572

#D4E572 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.6% C 0.141 H 116.3°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#D4E572
RGBrgb(212, 229, 114)
HSLhsl(69, 69%, 67%)
HSVhsv(69, 50%, 90%)
CMYKcmyk(7.4%, 0%, 50.2%, 10.2%)
CIE-LABlab(87.61, -21.98, 53.60)
CIE-LCHlch(87.61, 57.93, 112.29°)
OKLaboklab(88.55% -0.0627 0.1268)
OKLCHoklch(88.55% 0.141 116.3)
XYZxyz(58.2087, 71.2512, 26.6027)
Luminance0.7125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E572 #8372E5
analogous
#E5BD72 #D4E572 #9AE572
triadic
#D4E572 #72D4E5 #E572D4
tetradic
#D4E572 #72E5BD #8372E5 #E5729A
square
#D4E572 #72E5BD #8372E5 #E5729A
split-complementary
#D4E572 #729AE5 #BD72E5
monochromatic
#A4BA22 #C4DB3E #D4E572 #E4EFA6 #F4F8D9

Accessibility & contrast

On white

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

On black

15.25
#D4E572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E572
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E572#FFFFFF#000000##000000
##D4E5721.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB67
Deuteranopia (green-blind)
#F1DC78
Tritanopia (blue-blind)
#DFDACB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d4e572;
/* rgb */ color: rgb(212, 229, 114);
/* oklch */ color: oklch(88.6% 0.141 116.3);
Tailwind
colors: {
  custom: {
    50: '#e3ed9d',
    500: '#d4e572',
    950: '#000000',
  },
}
SCSS
$custom: #d4e572;
$custom-light: #e3ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e572",
  "rgb": {
    "r": 212,
    "g": 229,
    "b": 114
  },
  "hsl": {
    "h": 68.87,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88553,
    "c": 0.14145,
    "h": 116.3
  },
  "luminance": 0.71251
}

Semantic roles & 50–950 ramp

primary
#D4E572
secondary
#5341BA
accent
#15D130
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D4E572

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

Preview Lab → · Contrast checker → · Palette generator →

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