#DFEF96#DFEF96

#DFEF96 is a very light, moderate yellow-green. Relative luminance 0.796; OKLCH L 92.0% C 0.114 H 117.0°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#DFEF96
RGBrgb(223, 239, 150)
HSLhsl(71, 74%, 76%)
HSVhsv(71, 37%, 94%)
CMYKcmyk(6.7%, 0%, 37.2%, 6.3%)
CIE-LABlab(91.52, -18.88, 41.30)
CIE-LCHlch(91.52, 45.41, 114.56°)
OKLaboklab(92.02% -0.0517 0.1014)
OKLCHoklch(92.02% 0.114 117)
XYZxyz(66.8031, 79.6235, 40.6979)
Luminance0.7962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF96 #A696EF
analogous
#EFD396 #DFEF96 #B3EF96
triadic
#DFEF96 #96DFEF #EF96DF
tetradic
#DFEF96 #96EFD3 #A696EF #EF96B3
square
#DFEF96 #96EFD3 #A696EF #EF96B3
split-complementary
#DFEF96 #96B3EF #D396EF
monochromatic
#BFDF2C #CFE761 #DFEF96 #EFF7CB #F7FBE4

Accessibility & contrast

On white

1.24
#DFEF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#DFEF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF96
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF96#FFFFFF#000000##000000
##DFEF961.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE68F
Deuteranopia (green-blind)
#F9E79A
Tritanopia (blue-blind)
#E8E6D9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dfef96;
/* rgb */ color: rgb(223, 239, 150);
/* oklch */ color: oklch(92.0% 0.114 117.0);
Tailwind
colors: {
  custom: {
    50: '#eaf4b6',
    500: '#dfef96',
    950: '#000000',
  },
}
SCSS
$custom: #dfef96;
$custom-light: #eaf4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef96",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 150
  },
  "hsl": {
    "h": 70.787,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92022,
    "c": 0.11377,
    "h": 117
  },
  "luminance": 0.79623
}

Semantic roles & 50–950 ramp

primary
#DFEF96
secondary
#725ECB
accent
#10D633
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFEF96

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

Preview Lab → · Contrast checker → · Palette generator →

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