#DFF2A7#DFF2A7

#DFF2A7 is a very light, moderate yellow-green. Relative luminance 0.820; OKLCH L 92.9% C 0.098 H 119.9°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#DFF2A7
RGBrgb(223, 242, 167)
HSLhsl(75, 74%, 80%)
HSVhsv(75, 31%, 95%)
CMYKcmyk(7.9%, 0%, 31%, 5.1%)
CIE-LABlab(92.57, -18.25, 34.20)
CIE-LCHlch(92.57, 38.76, 118.08°)
OKLaboklab(92.95% -0.0491 0.0853)
OKLCHoklch(92.95% 0.098 119.9)
XYZxyz(69.1582, 81.9824, 48.7325)
Luminance0.8198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF2A7 #BAA7F2
analogous
#F2DFA7 #DFF2A7 #B9F2A7
triadic
#DFF2A7 #A7DFF2 #F2A7DF
tetradic
#DFF2A7 #A7F2DF #BAA7F2 #F2A7B9
square
#DFF2A7 #A7F2DF #BAA7F2 #F2A7B9
split-complementary
#DFF2A7 #A7B9F2 #DFA7F2
monochromatic
#B8E23C #CCEA72 #DFF2A7 #F2FADC #F5FBE4

Accessibility & contrast

On white

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

On black

17.40
#DFF2A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF2A7
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF2A7#FFFFFF#000000##000000
##DFF2A71.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEAA2
Deuteranopia (green-blind)
#F9EAAA
Tritanopia (blue-blind)
#E6EADF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #dff2a7;
/* rgb */ color: rgb(223, 242, 167);
/* oklch */ color: oklch(92.9% 0.098 119.9);
Tailwind
colors: {
  custom: {
    50: '#e9f6c1',
    500: '#dff2a7',
    950: '#000000',
  },
}
SCSS
$custom: #dff2a7;
$custom-light: #e9f6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#dff2a7",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 167
  },
  "hsl": {
    "h": 75.2,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.92947,
    "c": 0.09845,
    "h": 119.9
  },
  "luminance": 0.81982
}

Semantic roles & 50–950 ramp

primary
#DFF2A7
secondary
#866CD1
accent
#0FD642
background
#FEFFFD
surface
#FDFEF9
border
#D5D6D2
text
#161712
muted
#848582

Preview Lab

Preview with #DFF2A7

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

Preview Lab → · Contrast checker → · Palette generator →

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