#DFF781#DFF781

#DFF781 is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.4% C 0.146 H 118.8°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#DFF781
RGBrgb(223, 247, 129)
HSLhsl(72, 88%, 74%)
HSVhsv(72, 48%, 97%)
CMYKcmyk(9.7%, 0%, 47.8%, 3.1%)
CIE-LABlab(93.36, -24.95, 53.70)
CIE-LCHlch(93.36, 59.22, 114.92°)
OKLaboklab(93.41% -0.0704 0.1281)
OKLCHoklch(93.41% 0.146 118.8)
XYZxyz(67.6552, 83.7949, 33.3745)
Luminance0.8379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF781 #9981F7
analogous
#F7D481 #DFF781 #A4F781
triadic
#DFF781 #81DFF7 #F781DF
tetradic
#DFF781 #81F7D4 #9981F7 #F781A4
square
#DFF781 #81F7D4 #9981F7 #F781A4
split-complementary
#DFF781 #81A4F7 #D481F7
monochromatic
#C1EE0F #D0F347 #DFF781 #EEFBBB #F8FDE2

Accessibility & contrast

On white

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

On black

17.76
#DFF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF781
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF781#FFFFFF#000000##000000
##DFF7811.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC77
Deuteranopia (green-blind)
#FFEC87
Tritanopia (blue-blind)
#E9ECDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dff781;
/* rgb */ color: rgb(223, 247, 129);
/* oklch */ color: oklch(93.4% 0.146 118.8);
Tailwind
colors: {
  custom: {
    50: '#ebf9a8',
    500: '#dff781',
    950: '#000000',
  },
}
SCSS
$custom: #dff781;
$custom-light: #ebf9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#dff781",
  "rgb": {
    "r": 223,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 72.203,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93409,
    "c": 0.14614,
    "h": 118.8
  },
  "luminance": 0.83794
}

Semantic roles & 50–950 ramp

primary
#DFF781
secondary
#6549D4
accent
#01E52F
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DFF781

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

Preview Lab → · Contrast checker → · Palette generator →

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