#DFF28A#DFF28A

#DFF28A is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.5% C 0.131 H 117.5°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#DFF28A
RGBrgb(223, 242, 138)
HSLhsl(71, 80%, 75%)
HSVhsv(71, 43%, 95%)
CMYKcmyk(7.9%, 0%, 43%, 5.1%)
CIE-LABlab(92.14, -21.66, 47.95)
CIE-LCHlch(92.14, 52.61, 114.31°)
OKLaboklab(92.47% -0.0604 0.1159)
OKLCHoklch(92.47% 0.131 117.5)
XYZxyz(66.7715, 81.0277, 36.1622)
Luminance0.8103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF28A #9D8AF2
analogous
#F2D18A #DFF28A #ABF28A
triadic
#DFF28A #8ADFF2 #F28ADF
tetradic
#DFF28A #8AF2D1 #9D8AF2 #F28AAB
square
#DFF28A #8AF2D1 #9D8AF2 #F28AAB
split-complementary
#DFF28A #8AABF2 #D18AF2
monochromatic
#C1E61C #D0EC53 #DFF28A #EEF8C1 #F7FCE3

Accessibility & contrast

On white

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

On black

17.21
#DFF28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF28A
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF28A#FFFFFF#000000##000000
##DFF28A1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dff28a;
/* rgb */ color: rgb(223, 242, 138);
/* oklch */ color: oklch(92.5% 0.131 117.5);
Tailwind
colors: {
  custom: {
    50: '#eaf6ae',
    500: '#dff28a',
    950: '#000000',
  },
}
SCSS
$custom: #dff28a;
$custom-light: #eaf6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dff28a",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 138
  },
  "hsl": {
    "h": 70.962,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92471,
    "c": 0.13064,
    "h": 117.5
  },
  "luminance": 0.81027
}

Semantic roles & 50–950 ramp

primary
#DFF28A
secondary
#6952CE
accent
#09DC30
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DFF28A

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

Preview Lab → · Contrast checker → · Palette generator →

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