#D7E87F#D7E87F

#D7E87F is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 89.6% C 0.131 H 116.7°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#D7E87F
RGBrgb(215, 232, 127)
HSLhsl(70, 70%, 70%)
HSVhsv(70, 45%, 91%)
CMYKcmyk(7.3%, 0%, 45.3%, 9%)
CIE-LABlab(88.78, -21.02, 48.94)
CIE-LCHlch(88.78, 53.26, 113.24°)
OKLaboklab(89.59% -0.059 0.1175)
OKLCHoklch(89.59% 0.131 116.7)
XYZxyz(60.7123, 73.6932, 31.1004)
Luminance0.7369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E87F #907FE8
analogous
#E8C47F #D7E87F #A3E87F
triadic
#D7E87F #7FD7E8 #E87FD7
tetradic
#D7E87F #7FE8C4 #907FE8 #E87FA3
square
#D7E87F #7FE8C4 #907FE8 #E87FA3
split-complementary
#D7E87F #7FA3E8 #C47FE8
monochromatic
#AEC924 #C7DF4B #D7E87F #E7F1B3 #F7FAE5

Accessibility & contrast

On white

1.33
#D7E87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#D7E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E87F
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E87F#FFFFFF#000000##000000
##D7E87F1.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE76
Deuteranopia (green-blind)
#F3E084
Tritanopia (blue-blind)
#E1DECF
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d7e87f;
/* rgb */ color: rgb(215, 232, 127);
/* oklch */ color: oklch(89.6% 0.131 116.7);
Tailwind
colors: {
  custom: {
    50: '#e5efa6',
    500: '#d7e87f',
    950: '#000000',
  },
}
SCSS
$custom: #d7e87f;
$custom-light: #e5efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e87f",
  "rgb": {
    "r": 215,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 69.714,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89592,
    "c": 0.13146,
    "h": 116.7
  },
  "luminance": 0.73693
}

Semantic roles & 50–950 ramp

primary
#D7E87F
secondary
#5E4BC1
accent
#14D233
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D7E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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