#D7E662#D7E662

#D7E662 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 88.8% C 0.156 H 115.1°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#D7E662
RGBrgb(215, 230, 98)
HSLhsl(67, 73%, 64%)
HSVhsv(67, 57%, 90%)
CMYKcmyk(6.5%, 0%, 57.4%, 9.8%)
CIE-LABlab(87.93, -22.60, 61.21)
CIE-LCHlch(87.93, 65.25, 110.27°)
OKLaboklab(88.82% -0.0662 0.1415)
OKLCHoklch(88.82% 0.156 115.1)
XYZxyz(58.5269, 71.9234, 22.3524)
Luminance0.7192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E662 #7162E6
analogous
#E6B362 #D7E662 #95E662
triadic
#D7E662 #62D7E6 #E662D7
tetradic
#D7E662 #62E6B3 #7162E6 #E66295
square
#D7E662 #62E6B3 #7162E6 #E66295
split-complementary
#D7E662 #6295E6 #B362E6
monochromatic
#A0B11C #CADE2D #D7E662 #E4EE97 #F2F7CC

Accessibility & contrast

On white

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

On black

15.38
#D7E662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E662
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E662#FFFFFF#000000##000000
##D7E6621.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC54
Deuteranopia (green-blind)
#F4DE6A
Tritanopia (blue-blind)
#E3DACA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d7e662;
/* rgb */ color: rgb(215, 230, 98);
/* oklch */ color: oklch(88.8% 0.156 115.1);
Tailwind
colors: {
  custom: {
    50: '#e6ed93',
    500: '#d7e662',
    950: '#000000',
  },
}
SCSS
$custom: #d7e662;
$custom-light: #e6ed93;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e662",
  "rgb": {
    "r": 215,
    "g": 230,
    "b": 98
  },
  "hsl": {
    "h": 66.818,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.88815,
    "c": 0.15626,
    "h": 115.1
  },
  "luminance": 0.71923
}

Semantic roles & 50–950 ramp

primary
#D7E662
secondary
#483AB2
accent
#11D527
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7E662

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

Preview Lab → · Contrast checker → · Palette generator →

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