#D9E372#D9E372

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

Color values

HEX#D9E372
RGBrgb(217, 227, 114)
HSLhsl(65, 67%, 67%)
HSVhsv(65, 50%, 89%)
CMYKcmyk(4.4%, 0%, 49.8%, 11%)
CIE-LABlab(87.44, -19.04, 53.49)
CIE-LCHlch(87.44, 56.78, 109.59°)
OKLaboklab(88.51% -0.0547 0.1265)
OKLCHoklch(88.51% 0.138 113.4)
XYZxyz(59.1226, 70.9058, 26.4880)
Luminance0.7090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E372 #7C72E3
analogous
#E3B572 #D9E372 #A1E372
triadic
#D9E372 #72D9E3 #E372D9
tetradic
#D9E372 #72E3B5 #7C72E3 #E372A1
square
#D9E372 #72E3B5 #7C72E3 #E372A1
split-complementary
#D9E372 #72A1E3 #B572E3
monochromatic
#A9B624 #CBD93F #D9E372 #E7EDA5 #F5F7D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9E372#FFFFFF#000000##000000
##D9E3721.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)
#F1DA68
Deuteranopia (green-blind)
#F1DC78
Tritanopia (blue-blind)
#E5D8C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d9e372;
/* rgb */ color: rgb(217, 227, 114);
/* oklch */ color: oklch(88.5% 0.138 113.4);
Tailwind
colors: {
  custom: {
    50: '#e7eb9d',
    500: '#d9e372',
    950: '#000000',
  },
}
SCSS
$custom: #d9e372;
$custom-light: #e7eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e372",
  "rgb": {
    "r": 217,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 65.31,
    "s": 66.864,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8851,
    "c": 0.1378,
    "h": 113.4
  },
  "luminance": 0.70905
}

Semantic roles & 50–950 ramp

primary
#D9E372
secondary
#4D42B7
accent
#17CF27
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D9E372

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

Preview Lab → · Contrast checker → · Palette generator →

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