#DFF8B2#DFF8B2

#DFF8B2 is a very light, moderate yellow-green. Relative luminance 0.860; OKLCH L 94.4% C 0.094 H 124.1°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#DFF8B2
RGBrgb(223, 248, 178)
HSLhsl(81, 83%, 84%)
HSVhsv(81, 28%, 97%)
CMYKcmyk(10.1%, 0%, 28.2%, 2.7%)
CIE-LABlab(94.33, -19.69, 31.01)
CIE-LCHlch(94.33, 36.74, 122.41°)
OKLaboklab(94.41% -0.0529 0.078)
OKLCHoklch(94.41% 0.094 124.1)
XYZxyz(72.0338, 86.0369, 54.9227)
Luminance0.8604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF8B2 #CBB2F8
analogous
#F8EEB2 #DFF8B2 #BCF8B2
triadic
#DFF8B2 #B2DFF8 #F8B2DF
tetradic
#DFF8B2 #B2F8EE #CBB2F8 #F8B2BC
square
#DFF8B2 #B2F8EE #CBB2F8 #F8B2BC
split-complementary
#DFF8B2 #B2BCF8 #EEB2F8
monochromatic
#B0EE42 #C8F37A #DFF8B2 #F3FCE3 #F3FCE3

Accessibility & contrast

On white

1.15
#DFF8B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#DFF8B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF8B2
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF8B2#FFFFFF#000000##000000
##DFF8B21.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEFAD
Deuteranopia (green-blind)
#FCEEB5
Tritanopia (blue-blind)
#E4F1E6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dff8b2;
/* rgb */ color: rgb(223, 248, 178);
/* oklch */ color: oklch(94.4% 0.094 124.1);
Tailwind
colors: {
  custom: {
    50: '#e9fac9',
    500: '#dff8b2',
    950: '#000000',
  },
}
SCSS
$custom: #dff8b2;
$custom-light: #e9fac9;
$custom-dark: #000000;
JSON
{
  "hex": "#dff8b2",
  "rgb": {
    "r": 223,
    "g": 248,
    "b": 178
  },
  "hsl": {
    "h": 81.429,
    "s": 83.333,
    "l": 83.529
  },
  "oklch": {
    "l": 0.94411,
    "c": 0.09423,
    "h": 124.1
  },
  "luminance": 0.86037
}

Semantic roles & 50–950 ramp

primary
#DFF8B2
secondary
#9874DA
accent
#06E054
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DFF8B2

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

Preview Lab → · Contrast checker → · Palette generator →

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