#DFF2A8#DFF2A8

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

Color values

HEX#DFF2A8
RGBrgb(223, 242, 168)
HSLhsl(75, 74%, 80%)
HSVhsv(75, 31%, 95%)
CMYKcmyk(7.9%, 0%, 30.6%, 5.1%)
CIE-LABlab(92.58, -18.11, 33.72)
CIE-LCHlch(92.58, 38.28, 118.25°)
OKLaboklab(92.97% -0.0487 0.0842)
OKLCHoklch(92.97% 0.097 120)
XYZxyz(69.2510, 82.0195, 49.2213)
Luminance0.8202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF2A8 #BBA8F2
analogous
#F2E0A8 #DFF2A8 #BAF2A8
triadic
#DFF2A8 #A8DFF2 #F2A8DF
tetradic
#DFF2A8 #A8F2E0 #BBA8F2 #F2A8BA
square
#DFF2A8 #A8F2E0 #BBA8F2 #F2A8BA
split-complementary
#DFF2A8 #A8BAF2 #E0A8F2
monochromatic
#B8E23E #CBEA73 #DFF2A8 #F3FADD #F5FBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFF2A8#FFFFFF#000000##000000
##DFF2A81.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)
#FBEAA3
Deuteranopia (green-blind)
#F9EAAB
Tritanopia (blue-blind)
#E6EADF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #dff2a8;
/* rgb */ color: rgb(223, 242, 168);
/* oklch */ color: oklch(93.0% 0.097 120.0);
Tailwind
colors: {
  custom: {
    50: '#e9f6c2',
    500: '#dff2a8',
    950: '#000000',
  },
}
SCSS
$custom: #dff2a8;
$custom-light: #e9f6c2;
$custom-dark: #000000;
JSON
{
  "hex": "#dff2a8",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 168
  },
  "hsl": {
    "h": 75.405,
    "s": 74,
    "l": 80.392
  },
  "oklch": {
    "l": 0.92965,
    "c": 0.09729,
    "h": 120
  },
  "luminance": 0.82019
}

Semantic roles & 50–950 ramp

primary
#DFF2A8
secondary
#876DD1
accent
#0FD642
background
#FEFFFD
surface
#FDFEF9
border
#D5D6D2
text
#161712
muted
#848582

Preview Lab

Preview with #DFF2A8

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

Preview Lab → · Contrast checker → · Palette generator →

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