#DFF878#DFF878

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

Color values

HEX#DFF878
RGBrgb(223, 248, 120)
HSLhsl(72, 90%, 72%)
HSVhsv(72, 52%, 97%)
CMYKcmyk(10.1%, 0%, 51.6%, 2.7%)
CIE-LABlab(93.53, -26.26, 58.03)
CIE-LCHlch(93.53, 63.70, 114.34°)
OKLaboklab(93.51% -0.0749 0.1368)
OKLCHoklch(93.51% 0.156 118.7)
XYZxyz(67.3897, 84.1793, 30.4637)
Luminance0.8418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF878 #9178F8
analogous
#F8D178 #DFF878 #9FF878
triadic
#DFF878 #78DFF8 #F878DF
tetradic
#DFF878 #78F8D1 #9178F8 #F8789F
square
#DFF878 #78F8D1 #9178F8 #F8789F
split-complementary
#DFF878 #789FF8 #D178F8
monochromatic
#BEE90C #D1F53E #DFF878 #EDFBB2 #F8FDE2

Accessibility & contrast

On white

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

On black

17.84
#DFF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF878
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF878#FFFFFF#000000##000000
##DFF8781.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dff878;
/* rgb */ color: rgb(223, 248, 120);
/* oklch */ color: oklch(93.5% 0.156 118.7);
Tailwind
colors: {
  custom: {
    50: '#ebfaa2',
    500: '#dff878',
    950: '#000000',
  },
}
SCSS
$custom: #dff878;
$custom-light: #ebfaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#dff878",
  "rgb": {
    "r": 223,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 71.719,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93511,
    "c": 0.15594,
    "h": 118.7
  },
  "luminance": 0.84179
}

Semantic roles & 50–950 ramp

primary
#DFF878
secondary
#5D40D4
accent
#00E62D
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF878

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

Preview Lab → · Contrast checker → · Palette generator →

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