#DFEF9F#DFEF9F

#DFEF9F is a very light, moderate yellow-green. Relative luminance 0.799; OKLCH L 92.2% C 0.104 H 117.7°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#DFEF9F
RGBrgb(223, 239, 159)
HSLhsl(72, 71%, 78%)
HSVhsv(72, 33%, 94%)
CMYKcmyk(6.7%, 0%, 33.5%, 6.3%)
CIE-LABlab(91.65, -17.80, 37.00)
CIE-LCHlch(91.65, 41.06, 115.69°)
OKLaboklab(92.18% -0.0481 0.0917)
OKLCHoklch(92.18% 0.104 117.7)
XYZxyz(67.5559, 79.9246, 44.6622)
Luminance0.7992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF9F #AF9FEF
analogous
#EFD79F #DFEF9F #B7EF9F
triadic
#DFEF9F #9FDFEF #EF9FDF
tetradic
#DFEF9F #9FEFD7 #AF9FEF #EF9FB7
square
#DFEF9F #9FEFD7 #AF9FEF #EF9FB7
split-complementary
#DFEF9F #9FB7EF #D79FEF
monochromatic
#BCDE36 #CEE66B #DFEF9F #F0F8D3 #F6FBE5

Accessibility & contrast

On white

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

On black

16.98
#DFEF9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF9F
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF9F#FFFFFF#000000##000000
##DFEF9F1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E799
Deuteranopia (green-blind)
#F8E8A3
Tritanopia (blue-blind)
#E7E7DB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dfef9f;
/* rgb */ color: rgb(223, 239, 159);
/* oklch */ color: oklch(92.2% 0.104 117.7);
Tailwind
colors: {
  custom: {
    50: '#eaf4bc',
    500: '#dfef9f',
    950: '#000000',
  },
}
SCSS
$custom: #dfef9f;
$custom-light: #eaf4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef9f",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 159
  },
  "hsl": {
    "h": 72,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92175,
    "c": 0.10357,
    "h": 117.7
  },
  "luminance": 0.79924
}

Semantic roles & 50–950 ramp

primary
#DFEF9F
secondary
#7B66CC
accent
#12D339
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161712
muted
#848582

Preview Lab

Preview with #DFEF9F

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

Preview Lab → · Contrast checker → · Palette generator →

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