#DFF478#DFF478

#DFF478 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.7% C 0.151 H 117.4°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#DFF478
RGBrgb(223, 244, 120)
HSLhsl(70, 85%, 71%)
HSVhsv(70, 51%, 96%)
CMYKcmyk(8.6%, 0%, 50.8%, 4.3%)
CIE-LABlab(92.46, -24.36, 56.78)
CIE-LCHlch(92.46, 61.78, 113.22°)
OKLaboklab(92.66% -0.0695 0.1341)
OKLCHoklch(92.66% 0.151 117.4)
XYZxyz(66.1731, 81.7460, 30.0582)
Luminance0.8175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF478 #8D78F4
analogous
#F4CB78 #DFF478 #A1F478
triadic
#DFF478 #78DFF4 #F478DF
tetradic
#DFF478 #78F4CB #8D78F4 #F478A1
square
#DFF478 #78F4CB #8D78F4 #F478A1
split-complementary
#DFF478 #78A1F4 #CB78F4
monochromatic
#BDDF12 #D2EF3F #DFF478 #ECF9B1 #F8FDE3

Accessibility & contrast

On white

1.21
#DFF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#DFF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF478
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF478#FFFFFF#000000##000000
##DFF4781.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#FFEA7F
Tritanopia (blue-blind)
#EAE9D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #dff478;
/* rgb */ color: rgb(223, 244, 120);
/* oklch */ color: oklch(92.7% 0.151 117.4);
Tailwind
colors: {
  custom: {
    50: '#ebf7a2',
    500: '#dff478',
    950: '#000000',
  },
}
SCSS
$custom: #dff478;
$custom-light: #ebf7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dff478",
  "rgb": {
    "r": 223,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 70.161,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92657,
    "c": 0.15102,
    "h": 117.4
  },
  "luminance": 0.81745
}

Semantic roles & 50–950 ramp

primary
#DFF478
secondary
#5941CF
accent
#04E12A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF478

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

Preview Lab → · Contrast checker → · Palette generator →

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