#DFF8A2#DFF8A2

#DFF8A2 is a very light, moderate yellow-green. Relative luminance 0.854; OKLCH L 94.1% C 0.113 H 121.8°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#DFF8A2
RGBrgb(223, 248, 162)
HSLhsl(77, 86%, 80%)
HSVhsv(77, 35%, 97%)
CMYKcmyk(10.1%, 0%, 34.7%, 2.7%)
CIE-LABlab(94.07, -21.79, 38.68)
CIE-LCHlch(94.07, 44.39, 119.39°)
OKLaboklab(94.12% -0.0593 0.0957)
OKLCHoklch(94.12% 0.113 121.8)
XYZxyz(70.5201, 85.4314, 46.9502)
Luminance0.8543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF8A2 #BBA2F8
analogous
#F8E6A2 #DFF8A2 #B4F8A2
triadic
#DFF8A2 #A2DFF8 #F8A2DF
tetradic
#DFF8A2 #A2F8E6 #BBA2F8 #F8A2B4
square
#DFF8A2 #A2F8E6 #BBA2F8 #F8A2B4
split-complementary
#DFF8A2 #A2B4F8 #E6A2F8
monochromatic
#B8EF30 #CBF469 #DFF8A2 #F3FCDB #F5FDE3

Accessibility & contrast

On white

1.16
#DFF8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#DFF8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF8A2
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF8A2#FFFFFF#000000##000000
##DFF8A21.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE9C
Deuteranopia (green-blind)
#FFEEA6
Tritanopia (blue-blind)
#E6F0E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dff8a2;
/* rgb */ color: rgb(223, 248, 162);
/* oklch */ color: oklch(94.1% 0.113 121.8);
Tailwind
colors: {
  custom: {
    50: '#eafabe',
    500: '#dff8a2',
    950: '#000000',
  },
}
SCSS
$custom: #dff8a2;
$custom-light: #eafabe;
$custom-dark: #000000;
JSON
{
  "hex": "#dff8a2",
  "rgb": {
    "r": 223,
    "g": 248,
    "b": 162
  },
  "hsl": {
    "h": 77.442,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.94119,
    "c": 0.11258,
    "h": 121.8
  },
  "luminance": 0.85431
}

Semantic roles & 50–950 ramp

primary
#DFF8A2
secondary
#8765D9
accent
#03E344
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DFF8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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