#DFF87A#DFF87A

#DFF87A is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.5% C 0.154 H 118.8°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#DFF87A
RGBrgb(223, 248, 122)
HSLhsl(72, 90%, 73%)
HSVhsv(72, 51%, 97%)
CMYKcmyk(10.1%, 0%, 50.8%, 2.7%)
CIE-LABlab(93.55, -26.08, 57.15)
CIE-LCHlch(93.55, 62.82, 114.53°)
OKLaboklab(93.54% -0.0742 0.1351)
OKLCHoklch(93.54% 0.154 118.8)
XYZxyz(67.5124, 84.2283, 31.1097)
Luminance0.8423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF87A #937AF8
analogous
#F8D27A #DFF87A #A0F87A
triadic
#DFF87A #7ADFF8 #F87ADF
tetradic
#DFF87A #7AF8D2 #937AF8 #F87AA0
square
#DFF87A #7AF8D2 #937AF8 #F87AA0
split-complementary
#DFF87A #7AA0F8 #D27AF8
monochromatic
#BFEB0C #D1F540 #DFF87A #EDFBB4 #F8FDE2

Accessibility & contrast

On white

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

On black

17.85
#DFF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF87A
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF87A#FFFFFF#000000##000000
##DFF87A1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFED81
Tritanopia (blue-blind)
#EAEDDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dff87a;
/* rgb */ color: rgb(223, 248, 122);
/* oklch */ color: oklch(93.5% 0.154 118.8);
Tailwind
colors: {
  custom: {
    50: '#ebfaa3',
    500: '#dff87a',
    950: '#000000',
  },
}
SCSS
$custom: #dff87a;
$custom-light: #ebfaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#dff87a",
  "rgb": {
    "r": 223,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 71.905,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93535,
    "c": 0.15409,
    "h": 118.8
  },
  "luminance": 0.84228
}

Semantic roles & 50–950 ramp

primary
#DFF87A
secondary
#5F42D4
accent
#00E62E
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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