#D7E062#D7E062

#D7E062 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.5% C 0.149 H 112.8°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#D7E062
RGBrgb(215, 224, 98)
HSLhsl(64, 67%, 63%)
HSVhsv(64, 56%, 88%)
CMYKcmyk(4%, 0%, 56.3%, 12.2%)
CIE-LABlab(86.33, -19.70, 59.41)
CIE-LCHlch(86.33, 62.59, 108.34°)
OKLaboklab(87.53% -0.058 0.1377)
OKLCHoklch(87.53% 0.149 112.8)
XYZxyz(56.8859, 68.6413, 21.8053)
Luminance0.6864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E062 #6B62E0
analogous
#E0AA62 #D7E062 #98E062
triadic
#D7E062 #62D7E0 #E062D7
tetradic
#D7E062 #62E0AA #6B62E0 #E06298
square
#D7E062 #62E0AA #6B62E0 #E06298
split-complementary
#D7E062 #6298E0 #AA62E0
monochromatic
#9DA721 #CAD62F #D7E062 #E4EA95 #F1F4C8

Accessibility & contrast

On white

1.43
#D7E062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#D7E062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E062
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E062#FFFFFF#000000##000000
##D7E0621.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD755
Deuteranopia (green-blind)
#EFD969
Tritanopia (blue-blind)
#E4D4C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d7e062;
/* rgb */ color: rgb(215, 224, 98);
/* oklch */ color: oklch(87.5% 0.149 112.8);
Tailwind
colors: {
  custom: {
    50: '#e6e993',
    500: '#d7e062',
    950: '#000000',
  },
}
SCSS
$custom: #d7e062;
$custom-light: #e6e993;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e062",
  "rgb": {
    "r": 215,
    "g": 224,
    "b": 98
  },
  "hsl": {
    "h": 64.286,
    "s": 67.021,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87531,
    "c": 0.14942,
    "h": 112.8
  },
  "luminance": 0.6864
}

Semantic roles & 50–950 ramp

primary
#D7E062
secondary
#453DA9
accent
#17CF24
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7E062

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

Preview Lab → · Contrast checker → · Palette generator →

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