#DFF7B2#DFF7B2

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

Color values

HEX#DFF7B2
RGBrgb(223, 247, 178)
HSLhsl(81, 81%, 83%)
HSVhsv(81, 28%, 97%)
CMYKcmyk(9.7%, 0%, 27.9%, 3.1%)
CIE-LABlab(94.07, -19.20, 30.66)
CIE-LCHlch(94.07, 36.18, 122.06°)
OKLaboklab(94.2% -0.0515 0.0771)
OKLCHoklch(94.2% 0.093 123.7)
XYZxyz(71.7272, 85.4237, 54.8205)
Luminance0.8542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF7B2 #CAB2F7
analogous
#F7ECB2 #DFF7B2 #BCF7B2
triadic
#DFF7B2 #B2DFF7 #F7B2DF
tetradic
#DFF7B2 #B2F7EC #CAB2F7 #F7B2BC
square
#DFF7B2 #B2F7EC #CAB2F7 #F7B2BC
split-complementary
#DFF7B2 #B2BCF7 #ECB2F7
monochromatic
#B1EB43 #C8F17B #DFF7B2 #F3FCE3 #F3FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFF7B2#FFFFFF#000000##000000
##DFF7B21.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)
#FFEFAE
Deuteranopia (green-blind)
#FCEEB5
Tritanopia (blue-blind)
#E4F0E5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dff7b2;
/* rgb */ color: rgb(223, 247, 178);
/* oklch */ color: oklch(94.2% 0.093 123.7);
Tailwind
colors: {
  custom: {
    50: '#e9f9c9',
    500: '#dff7b2',
    950: '#000000',
  },
}
SCSS
$custom: #dff7b2;
$custom-light: #e9f9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#dff7b2",
  "rgb": {
    "r": 223,
    "g": 247,
    "b": 178
  },
  "hsl": {
    "h": 80.87,
    "s": 81.176,
    "l": 83.333
  },
  "oklch": {
    "l": 0.94202,
    "c": 0.09276,
    "h": 123.7
  },
  "luminance": 0.85424
}

Semantic roles & 50–950 ramp

primary
#DFF7B2
secondary
#9774D9
accent
#08DE52
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DFF7B2

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

Preview Lab → · Contrast checker → · Palette generator →

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