#D4E372#D4E372

#D4E372 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.1% C 0.139 H 115.6°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#D4E372
RGBrgb(212, 227, 114)
HSLhsl(68, 67%, 67%)
HSVhsv(68, 50%, 89%)
CMYKcmyk(6.6%, 0%, 49.8%, 11%)
CIE-LABlab(87.07, -21.01, 52.96)
CIE-LCHlch(87.07, 56.98, 111.63°)
OKLaboklab(88.12% -0.06 0.1254)
OKLCHoklch(88.12% 0.139 115.6)
XYZxyz(57.6586, 70.1508, 26.4194)
Luminance0.7015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E372 #8172E3
analogous
#E3BA72 #D4E372 #9BE372
triadic
#D4E372 #72D4E3 #E372D4
tetradic
#D4E372 #72E3BA #8172E3 #E3729B
square
#D4E372 #72E3BA #8172E3 #E3729B
split-complementary
#D4E372 #729BE3 #BA72E3
monochromatic
#A3B624 #C4D93F #D4E372 #E4EDA5 #F3F7D8

Accessibility & contrast

On white

1.40
#D4E372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#D4E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E372
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E372#FFFFFF#000000##000000
##D4E3721.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D968
Deuteranopia (green-blind)
#EFDB78
Tritanopia (blue-blind)
#DFD8C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d4e372;
/* rgb */ color: rgb(212, 227, 114);
/* oklch */ color: oklch(88.1% 0.139 115.6);
Tailwind
colors: {
  custom: {
    50: '#e3eb9d',
    500: '#d4e372',
    950: '#000000',
  },
}
SCSS
$custom: #d4e372;
$custom-light: #e3eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e372",
  "rgb": {
    "r": 212,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 67.965,
    "s": 66.864,
    "l": 66.863
  },
  "oklch": {
    "l": 0.88124,
    "c": 0.13901,
    "h": 115.6
  },
  "luminance": 0.7015
}

Semantic roles & 50–950 ramp

primary
#D4E372
secondary
#5242B7
accent
#17CF2F
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D4E372

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

Preview Lab → · Contrast checker → · Palette generator →

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