#DFEF97#DFEF97

#DFEF97 is a very light, moderate yellow-green. Relative luminance 0.797; OKLCH L 92.0% C 0.113 H 117.1°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#DFEF97
RGBrgb(223, 239, 151)
HSLhsl(71, 73%, 76%)
HSVhsv(71, 37%, 94%)
CMYKcmyk(6.7%, 0%, 36.8%, 6.3%)
CIE-LABlab(91.53, -18.76, 40.83)
CIE-LCHlch(91.53, 44.93, 114.68°)
OKLaboklab(92.04% -0.0513 0.1003)
OKLCHoklch(92.04% 0.113 117.1)
XYZxyz(66.8840, 79.6558, 41.1238)
Luminance0.7965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF97 #A797EF
analogous
#EFD397 #DFEF97 #B3EF97
triadic
#DFEF97 #97DFEF #EF97DF
tetradic
#DFEF97 #97EFD3 #A797EF #EF97B3
square
#DFEF97 #97EFD3 #A797EF #EF97B3
split-complementary
#DFEF97 #97B3EF #D397EF
monochromatic
#BEDF2D #CFE762 #DFEF97 #EFF7CC #F7FBE4

Accessibility & contrast

On white

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

On black

16.93
#DFEF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF97
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF97#FFFFFF#000000##000000
##DFEF971.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfef97;
/* rgb */ color: rgb(223, 239, 151);
/* oklch */ color: oklch(92.0% 0.113 117.1);
Tailwind
colors: {
  custom: {
    50: '#eaf4b6',
    500: '#dfef97',
    950: '#000000',
  },
}
SCSS
$custom: #dfef97;
$custom-light: #eaf4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef97",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 70.909,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92039,
    "c": 0.11264,
    "h": 117.1
  },
  "luminance": 0.79655
}

Semantic roles & 50–950 ramp

primary
#DFEF97
secondary
#735FCB
accent
#10D534
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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