#DFEF8F#DFEF8F

#DFEF8F is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.9% C 0.121 H 116.6°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#DFEF8F
RGBrgb(223, 239, 143)
HSLhsl(70, 75%, 75%)
HSVhsv(70, 40%, 94%)
CMYKcmyk(6.7%, 0%, 40.2%, 6.3%)
CIE-LABlab(91.42, -19.67, 44.62)
CIE-LCHlch(91.42, 48.76, 113.79°)
OKLaboklab(91.91% -0.0544 0.1086)
OKLCHoklch(91.91% 0.121 116.6)
XYZxyz(66.2562, 79.4047, 37.8175)
Luminance0.7940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF8F #9F8FEF
analogous
#EFCF8F #DFEF8F #AFEF8F
triadic
#DFEF8F #8FDFEF #EF8FDF
tetradic
#DFEF8F #8FEFCF #9F8FEF #EF8FAF
square
#DFEF8F #8FEFCF #9F8FEF #EF8FAF
split-complementary
#DFEF8F #8FAFEF #CF8FEF
monochromatic
#C0E024 #D0E759 #DFEF8F #EEF7C5 #F7FBE4

Accessibility & contrast

On white

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

On black

16.88
#DFEF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF8F
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF8F#FFFFFF#000000##000000
##DFEF8F1.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE688
Deuteranopia (green-blind)
#F9E794
Tritanopia (blue-blind)
#E9E5D8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dfef8f;
/* rgb */ color: rgb(223, 239, 143);
/* oklch */ color: oklch(91.9% 0.121 116.6);
Tailwind
colors: {
  custom: {
    50: '#eaf4b1',
    500: '#dfef8f',
    950: '#000000',
  },
}
SCSS
$custom: #dfef8f;
$custom-light: #eaf4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef8f",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 143
  },
  "hsl": {
    "h": 70,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91912,
    "c": 0.12145,
    "h": 116.6
  },
  "luminance": 0.79404
}

Semantic roles & 50–950 ramp

primary
#DFEF8F
secondary
#6B57CB
accent
#0ED730
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFEF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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