#D7E372#D7E372

#D7E372 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.4% C 0.138 H 114.3°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#D7E372
RGBrgb(215, 227, 114)
HSLhsl(66, 67%, 67%)
HSVhsv(66, 50%, 89%)
CMYKcmyk(5.3%, 0%, 49.8%, 11%)
CIE-LABlab(87.29, -19.83, 53.28)
CIE-LCHlch(87.29, 56.85, 110.41°)
OKLaboklab(88.35% -0.0568 0.126)
OKLCHoklch(88.35% 0.138 114.3)
XYZxyz(58.5316, 70.6010, 26.4603)
Luminance0.7060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E372 #7E72E3
analogous
#E3B772 #D7E372 #9FE372
triadic
#D7E372 #72D7E3 #E372D7
tetradic
#D7E372 #72E3B7 #7E72E3 #E3729F
square
#D7E372 #72E3B7 #7E72E3 #E3729F
split-complementary
#D7E372 #729FE3 #B772E3
monochromatic
#A7B624 #C9D93F #D7E372 #E5EDA5 #F4F7D8

Accessibility & contrast

On white

1.39
#D7E372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#D7E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E372
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E372#FFFFFF#000000##000000
##D7E3721.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA68
Deuteranopia (green-blind)
#F0DC78
Tritanopia (blue-blind)
#E2D8C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e372;
/* rgb */ color: rgb(215, 227, 114);
/* oklch */ color: oklch(88.4% 0.138 114.3);
Tailwind
colors: {
  custom: {
    50: '#e5eb9d',
    500: '#d7e372',
    950: '#000000',
  },
}
SCSS
$custom: #d7e372;
$custom-light: #e5eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e372",
  "rgb": {
    "r": 215,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 66.372,
    "s": 66.864,
    "l": 66.863
  },
  "oklch": {
    "l": 0.88354,
    "c": 0.13826,
    "h": 114.3
  },
  "luminance": 0.706
}

Semantic roles & 50–950 ramp

primary
#D7E372
secondary
#4F42B7
accent
#17CF2A
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D7E372

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

Preview Lab → · Contrast checker → · Palette generator →

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