#DFF8A1#DFF8A1

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

Color values

HEX#DFF8A1
RGBrgb(223, 248, 161)
HSLhsl(77, 86%, 80%)
HSVhsv(77, 35%, 97%)
CMYKcmyk(10.1%, 0%, 35.1%, 2.7%)
CIE-LABlab(94.05, -21.91, 39.15)
CIE-LCHlch(94.05, 44.87, 119.23°)
OKLaboklab(94.1% -0.0597 0.0968)
OKLCHoklch(94.1% 0.114 121.7)
XYZxyz(70.4315, 85.3960, 46.4839)
Luminance0.8540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF8A1 #BAA1F8
analogous
#F8E5A1 #DFF8A1 #B4F8A1
triadic
#DFF8A1 #A1DFF8 #F8A1DF
tetradic
#DFF8A1 #A1F8E5 #BAA1F8 #F8A1B4
square
#DFF8A1 #A1F8E5 #BAA1F8 #F8A1B4
split-complementary
#DFF8A1 #A1B4F8 #E5A1F8
monochromatic
#B8F02F #CCF468 #DFF8A1 #F2FCDA #F5FDE3

Accessibility & contrast

On white

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

On black

18.08
#DFF8A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF8A1
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF8A1#FFFFFF#000000##000000
##DFF8A11.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dff8a1;
/* rgb */ color: rgb(223, 248, 161);
/* oklch */ color: oklch(94.1% 0.114 121.7);
Tailwind
colors: {
  custom: {
    50: '#eafabd',
    500: '#dff8a1',
    950: '#000000',
  },
}
SCSS
$custom: #dff8a1;
$custom-light: #eafabd;
$custom-dark: #000000;
JSON
{
  "hex": "#dff8a1",
  "rgb": {
    "r": 223,
    "g": 248,
    "b": 161
  },
  "hsl": {
    "h": 77.241,
    "s": 86.139,
    "l": 80.196
  },
  "oklch": {
    "l": 0.94102,
    "c": 0.1137,
    "h": 121.7
  },
  "luminance": 0.85396
}

Semantic roles & 50–950 ramp

primary
#DFF8A1
secondary
#8664D9
accent
#03E343
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DFF8A1

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

Preview Lab → · Contrast checker → · Palette generator →

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