#D7E460#D7E460

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

Color values

HEX#D7E460
RGBrgb(215, 228, 96)
HSLhsl(66, 71%, 64%)
HSVhsv(66, 58%, 89%)
CMYKcmyk(5.7%, 0%, 57.9%, 10.6%)
CIE-LABlab(87.38, -21.79, 61.46)
CIE-LCHlch(87.38, 65.20, 109.52°)
OKLaboklab(88.37% -0.0641 0.1418)
OKLCHoklch(88.37% 0.156 114.3)
XYZxyz(57.8803, 70.7794, 21.6768)
Luminance0.7078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E460 #6D60E4
analogous
#E4AF60 #D7E460 #95E460
triadic
#D7E460 #60D7E4 #E460D7
tetradic
#D7E460 #60E4AF #6D60E4 #E46095
square
#D7E460 #60E4AF #6D60E4 #E46095
split-complementary
#D7E460 #6095E4 #AF60E4
monochromatic
#9EAC1D #CADB2C #D7E460 #E4ED94 #F1F6C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7E460#FFFFFF#000000##000000
##D7E4601.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA51
Deuteranopia (green-blind)
#F2DC68
Tritanopia (blue-blind)
#E4D8C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e460;
/* rgb */ color: rgb(215, 228, 96);
/* oklch */ color: oklch(88.4% 0.156 114.3);
Tailwind
colors: {
  custom: {
    50: '#e6ec92',
    500: '#d7e460',
    950: '#000000',
  },
}
SCSS
$custom: #d7e460;
$custom-light: #e6ec92;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e460",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 96
  },
  "hsl": {
    "h": 65.909,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.88366,
    "c": 0.15564,
    "h": 114.3
  },
  "luminance": 0.70778
}

Semantic roles & 50–950 ramp

primary
#D7E460
secondary
#463AAE
accent
#13D325
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7E460

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

Preview Lab → · Contrast checker → · Palette generator →

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