#DFF2A2#DFF2A2

#DFF2A2 is a very light, moderate yellow-green. Relative luminance 0.818; OKLCH L 92.9% C 0.104 H 119.3°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#DFF2A2
RGBrgb(223, 242, 162)
HSLhsl(74, 75%, 79%)
HSVhsv(74, 33%, 95%)
CMYKcmyk(7.9%, 0%, 33.1%, 5.1%)
CIE-LABlab(92.49, -18.89, 36.60)
CIE-LCHlch(92.49, 41.19, 117.29°)
OKLaboklab(92.86% -0.0511 0.0909)
OKLCHoklch(92.86% 0.104 119.3)
XYZxyz(68.7049, 81.8011, 46.3451)
Luminance0.8180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF2A2 #B5A2F2
analogous
#F2DDA2 #DFF2A2 #B7F2A2
triadic
#DFF2A2 #A2DFF2 #F2A2DF
tetradic
#DFF2A2 #A2F2DD #B5A2F2 #F2A2B7
square
#DFF2A2 #A2F2DD #B5A2F2 #F2A2B7
split-complementary
#DFF2A2 #A2B7F2 #DDA2F2
monochromatic
#BAE337 #CDEA6C #DFF2A2 #F1FAD8 #F6FBE4

Accessibility & contrast

On white

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

On black

17.36
#DFF2A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF2A2
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF2A2#FFFFFF#000000##000000
##DFF2A21.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE99C
Deuteranopia (green-blind)
#FAEAA6
Tritanopia (blue-blind)
#E6EADE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #dff2a2;
/* rgb */ color: rgb(223, 242, 162);
/* oklch */ color: oklch(92.9% 0.104 119.3);
Tailwind
colors: {
  custom: {
    50: '#eaf6be',
    500: '#dff2a2',
    950: '#000000',
  },
}
SCSS
$custom: #dff2a2;
$custom-light: #eaf6be;
$custom-dark: #000000;
JSON
{
  "hex": "#dff2a2",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 162
  },
  "hsl": {
    "h": 74.25,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.92856,
    "c": 0.10423,
    "h": 119.3
  },
  "luminance": 0.81801
}

Semantic roles & 50–950 ramp

primary
#DFF2A2
secondary
#8168D0
accent
#0ED83E
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161712
muted
#848582

Preview Lab

Preview with #DFF2A2

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

Preview Lab → · Contrast checker → · Palette generator →

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