#D7E462#D7E462

#D7E462 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.4% C 0.154 H 114.4°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#D7E462
RGBrgb(215, 228, 98)
HSLhsl(66, 71%, 64%)
HSVhsv(66, 57%, 89%)
CMYKcmyk(5.7%, 0%, 57%, 10.6%)
CIE-LABlab(87.40, -21.64, 60.61)
CIE-LCHlch(87.40, 64.36, 109.65°)
OKLaboklab(88.39% -0.0635 0.1403)
OKLCHoklch(88.39% 0.154 114.4)
XYZxyz(57.9736, 70.8167, 22.1679)
Luminance0.7082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E462 #6F62E4
analogous
#E4B062 #D7E462 #96E462
triadic
#D7E462 #62D7E4 #E462D7
tetradic
#D7E462 #62E4B0 #6F62E4 #E46296
square
#D7E462 #62E4B0 #6F62E4 #E46296
split-complementary
#D7E462 #6296E4 #B062E4
monochromatic
#9FAE1E #CADB2E #D7E462 #E4ED96 #F2F6CA

Accessibility & contrast

On white

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

On black

15.16
#D7E462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E462
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E462#FFFFFF#000000##000000
##D7E4621.001.3815.1615.16
#FFFFFF1.381.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F2DC6A
Tritanopia (blue-blind)
#E3D8C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e462;
/* rgb */ color: rgb(215, 228, 98);
/* oklch */ color: oklch(88.4% 0.154 114.4);
Tailwind
colors: {
  custom: {
    50: '#e6ec93',
    500: '#d7e462',
    950: '#000000',
  },
}
SCSS
$custom: #d7e462;
$custom-light: #e6ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e462",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 66,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88386,
    "c": 0.15396,
    "h": 114.4
  },
  "luminance": 0.70816
}

Semantic roles & 50–950 ramp

primary
#D7E462
secondary
#473BAF
accent
#13D326
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7E462

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

Preview Lab → · Contrast checker → · Palette generator →

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