#D7E562#D7E562

#D7E562 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 88.6% C 0.155 H 114.7°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#D7E562
RGBrgb(215, 229, 98)
HSLhsl(66, 72%, 64%)
HSVhsv(66, 57%, 90%)
CMYKcmyk(6.1%, 0%, 57.2%, 10.2%)
CIE-LABlab(87.66, -22.12, 60.91)
CIE-LCHlch(87.66, 64.80, 109.96°)
OKLaboklab(88.6% -0.0649 0.1409)
OKLCHoklch(88.6% 0.155 114.7)
XYZxyz(58.2494, 71.3684, 22.2599)
Luminance0.7137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E562 #7062E5
analogous
#E5B262 #D7E562 #96E562
triadic
#D7E562 #62D7E5 #E562D7
tetradic
#D7E562 #62E5B2 #7062E5 #E56296
square
#D7E562 #62E5B2 #7062E5 #E56296
split-complementary
#D7E562 #6296E5 #B262E5
monochromatic
#A0B01D #CADC2D #D7E562 #E4EE97 #F2F6CB

Accessibility & contrast

On white

1.37
#D7E562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#D7E562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E562
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E562#FFFFFF#000000##000000
##D7E5621.001.3715.2715.27
#FFFFFF1.371.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#F3DD6A
Tritanopia (blue-blind)
#E3D9C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d7e562;
/* rgb */ color: rgb(215, 229, 98);
/* oklch */ color: oklch(88.6% 0.155 114.7);
Tailwind
colors: {
  custom: {
    50: '#e6ed93',
    500: '#d7e562',
    950: '#000000',
  },
}
SCSS
$custom: #d7e562;
$custom-light: #e6ed93;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e562",
  "rgb": {
    "r": 215,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 66.412,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88601,
    "c": 0.1551,
    "h": 114.7
  },
  "luminance": 0.71368
}

Semantic roles & 50–950 ramp

primary
#D7E562
secondary
#473BB1
accent
#12D427
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7E562

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

Preview Lab → · Contrast checker → · Palette generator →

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