#DFF787#DFF787

#DFF787 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.5% C 0.140 H 119.1°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#DFF787
RGBrgb(223, 247, 135)
HSLhsl(73, 88%, 75%)
HSVhsv(73, 45%, 97%)
CMYKcmyk(9.7%, 0%, 45.3%, 3.1%)
CIE-LABlab(93.43, -24.36, 50.98)
CIE-LCHlch(93.43, 56.50, 115.54°)
OKLaboklab(93.49% -0.0682 0.1224)
OKLCHoklch(93.49% 0.14 119.1)
XYZxyz(68.0658, 83.9591, 35.5369)
Luminance0.8396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF787 #9F87F7
analogous
#F7D787 #DFF787 #A7F787
triadic
#DFF787 #87DFF7 #F787DF
tetradic
#DFF787 #87F7D7 #9F87F7 #F787A7
square
#DFF787 #87F7D7 #9F87F7 #F787A7
split-complementary
#DFF787 #87A7F7 #D787F7
monochromatic
#C0EF14 #D0F34E #DFF787 #EEFBC0 #F7FDE2

Accessibility & contrast

On white

1.18
#DFF787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#DFF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF787
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF787#FFFFFF#000000##000000
##DFF7871.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFED8D
Tritanopia (blue-blind)
#E9EDDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dff787;
/* rgb */ color: rgb(223, 247, 135);
/* oklch */ color: oklch(93.5% 0.140 119.1);
Tailwind
colors: {
  custom: {
    50: '#eaf9ac',
    500: '#dff787',
    950: '#000000',
  },
}
SCSS
$custom: #dff787;
$custom-light: #eaf9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dff787",
  "rgb": {
    "r": 223,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 72.857,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93489,
    "c": 0.14017,
    "h": 119.1
  },
  "luminance": 0.83959
}

Semantic roles & 50–950 ramp

primary
#DFF787
secondary
#6B4ED4
accent
#01E432
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DFF787

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

Preview Lab → · Contrast checker → · Palette generator →

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