#DFF87C#DFF87C

#DFF87C is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.6% C 0.152 H 118.9°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#DFF87C
RGBrgb(223, 248, 124)
HSLhsl(72, 90%, 73%)
HSVhsv(72, 50%, 97%)
CMYKcmyk(10.1%, 0%, 50%, 2.7%)
CIE-LABlab(93.57, -25.89, 56.26)
CIE-LCHlch(93.57, 61.94, 114.71°)
OKLaboklab(93.56% -0.0735 0.1333)
OKLCHoklch(93.56% 0.152 118.9)
XYZxyz(67.6376, 84.2784, 31.7690)
Luminance0.8428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF87C #957CF8
analogous
#F8D37C #DFF87C #A1F87C
triadic
#DFF87C #7CDFF8 #F87CDF
tetradic
#DFF87C #7CF8D3 #957CF8 #F87CA1
square
#DFF87C #7CF8D3 #957CF8 #F87CA1
split-complementary
#DFF87C #7CA1F8 #D37CF8
monochromatic
#C0ED0D #D1F542 #DFF87C #EDFBB6 #F8FDE2

Accessibility & contrast

On white

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

On black

17.86
#DFF87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF87C
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF87C#FFFFFF#000000##000000
##DFF87C1.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFED83
Tritanopia (blue-blind)
#E9EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dff87c;
/* rgb */ color: rgb(223, 248, 124);
/* oklch */ color: oklch(93.6% 0.152 118.9);
Tailwind
colors: {
  custom: {
    50: '#ebfaa5',
    500: '#dff87c',
    950: '#000000',
  },
}
SCSS
$custom: #dff87c;
$custom-light: #ebfaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#dff87c",
  "rgb": {
    "r": 223,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 72.097,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93559,
    "c": 0.15221,
    "h": 118.9
  },
  "luminance": 0.84278
}

Semantic roles & 50–950 ramp

primary
#DFF87C
secondary
#6144D4
accent
#00E62E
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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