#DFF8AF#DFF8AF

#DFF8AF is a very light, moderate yellow-green. Relative luminance 0.859; OKLCH L 94.4% C 0.098 H 123.6°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#DFF8AF
RGBrgb(223, 248, 175)
HSLhsl(81, 84%, 83%)
HSVhsv(81, 29%, 97%)
CMYKcmyk(10.1%, 0%, 29.4%, 2.7%)
CIE-LABlab(94.28, -20.10, 32.46)
CIE-LCHlch(94.28, 38.18, 121.77°)
OKLaboklab(94.35% -0.0541 0.0814)
OKLCHoklch(94.35% 0.098 123.6)
XYZxyz(71.7359, 85.9177, 53.3537)
Luminance0.8592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF8AF #C8AFF8
analogous
#F8ECAF #DFF8AF #BAF8AF
triadic
#DFF8AF #AFDFF8 #F8AFDF
tetradic
#DFF8AF #AFF8EC #C8AFF8 #F8AFBA
square
#DFF8AF #AFF8EC #C8AFF8 #F8AFBA
split-complementary
#DFF8AF #AFBAF8 #ECAFF8
monochromatic
#B2EE3E #C8F377 #DFF8AF #F4FDE3 #F4FDE3

Accessibility & contrast

On white

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

On black

18.18
#DFF8AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF8AF
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF8AF#FFFFFF#000000##000000
##DFF8AF1.001.1518.1818.18
#FFFFFF1.151.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEFAA
Deuteranopia (green-blind)
#FDEEB2
Tritanopia (blue-blind)
#E4F1E5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dff8af;
/* rgb */ color: rgb(223, 248, 175);
/* oklch */ color: oklch(94.4% 0.098 123.6);
Tailwind
colors: {
  custom: {
    50: '#e9fac7',
    500: '#dff8af',
    950: '#000000',
  },
}
SCSS
$custom: #dff8af;
$custom-light: #e9fac7;
$custom-dark: #000000;
JSON
{
  "hex": "#dff8af",
  "rgb": {
    "r": 223,
    "g": 248,
    "b": 175
  },
  "hsl": {
    "h": 80.548,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.94354,
    "c": 0.09772,
    "h": 123.6
  },
  "luminance": 0.85918
}

Semantic roles & 50–950 ramp

primary
#DFF8AF
secondary
#9571DA
accent
#05E050
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DFF8AF

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

Preview Lab → · Contrast checker → · Palette generator →

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