#DFF987#DFF987

#DFF987 is a very light, vivid yellow-green. Relative luminance 0.852; OKLCH L 93.9% C 0.143 H 119.8°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#DFF987
RGBrgb(223, 249, 135)
HSLhsl(74, 90%, 75%)
HSVhsv(74, 46%, 98%)
CMYKcmyk(10.4%, 0%, 45.8%, 2.4%)
CIE-LABlab(93.96, -25.31, 51.63)
CIE-LCHlch(93.96, 57.50, 116.11°)
OKLaboklab(93.92% -0.0709 0.1239)
OKLCHoklch(93.92% 0.143 119.8)
XYZxyz(68.6807, 85.1889, 35.7419)
Luminance0.8519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF987 #A187F9
analogous
#F9DA87 #DFF987 #A6F987
triadic
#DFF987 #87DFF9 #F987DF
tetradic
#DFF987 #87F9DA #A187F9 #F987A6
square
#DFF987 #87F9DA #A187F9 #F987A6
split-complementary
#DFF987 #87A6F9 #DA87F9
monochromatic
#C0F312 #CFF64D #DFF987 #EFFCC1 #F7FEE2

Accessibility & contrast

On white

1.16
#DFF987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#DFF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF987
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF987#FFFFFF#000000##000000
##DFF9871.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7D
Deuteranopia (green-blind)
#FFEE8D
Tritanopia (blue-blind)
#E8EFDE
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dff987;
/* rgb */ color: rgb(223, 249, 135);
/* oklch */ color: oklch(93.9% 0.143 119.8);
Tailwind
colors: {
  custom: {
    50: '#ebfbac',
    500: '#dff987',
    950: '#000000',
  },
}
SCSS
$custom: #dff987;
$custom-light: #ebfbac;
$custom-dark: #000000;
JSON
{
  "hex": "#dff987",
  "rgb": {
    "r": 223,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 73.684,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93915,
    "c": 0.14275,
    "h": 119.8
  },
  "luminance": 0.85189
}

Semantic roles & 50–950 ramp

primary
#DFF987
secondary
#6D4DD7
accent
#00E634
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DFF987

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

Preview Lab → · Contrast checker → · Palette generator →

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