#DFF28C#DFF28C

#DFF28C is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.5% C 0.129 H 117.6°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#DFF28C
RGBrgb(223, 242, 140)
HSLhsl(71, 80%, 75%)
HSVhsv(71, 42%, 95%)
CMYKcmyk(7.9%, 0%, 42.1%, 5.1%)
CIE-LABlab(92.17, -21.44, 47.02)
CIE-LCHlch(92.17, 51.68, 114.52°)
OKLaboklab(92.5% -0.0596 0.1139)
OKLCHoklch(92.5% 0.129 117.6)
XYZxyz(66.9176, 81.0862, 36.9318)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF28C #9F8CF2
analogous
#F2D28C #DFF28C #ACF28C
triadic
#DFF28C #8CDFF2 #F28CDF
tetradic
#DFF28C #8CF2D2 #9F8CF2 #F28CAC
square
#DFF28C #8CF2D2 #9F8CF2 #F28CAC
split-complementary
#DFF28C #8CACF2 #D28CF2
monochromatic
#C0E61E #D0EC55 #DFF28C #EEF8C3 #F7FCE4

Accessibility & contrast

On white

1.22
#DFF28C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#DFF28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF28C
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF28C#FFFFFF#000000##000000
##DFF28C1.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE884
Deuteranopia (green-blind)
#FCE991
Tritanopia (blue-blind)
#E9E8D9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dff28c;
/* rgb */ color: rgb(223, 242, 140);
/* oklch */ color: oklch(92.5% 0.129 117.6);
Tailwind
colors: {
  custom: {
    50: '#eaf6af',
    500: '#dff28c',
    950: '#000000',
  },
}
SCSS
$custom: #dff28c;
$custom-light: #eaf6af;
$custom-dark: #000000;
JSON
{
  "hex": "#dff28c",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 140
  },
  "hsl": {
    "h": 71.176,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.925,
    "c": 0.12854,
    "h": 117.6
  },
  "luminance": 0.81086
}

Semantic roles & 50–950 ramp

primary
#DFF28C
secondary
#6B54CE
accent
#0ADC31
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DFF28C

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

Preview Lab → · Contrast checker → · Palette generator →

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