#DFEF98#DFEF98

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

Color values

HEX#DFEF98
RGBrgb(223, 239, 152)
HSLhsl(71, 73%, 77%)
HSVhsv(71, 36%, 94%)
CMYKcmyk(6.7%, 0%, 36.4%, 6.3%)
CIE-LABlab(91.54, -18.64, 40.35)
CIE-LCHlch(91.54, 44.45, 114.80°)
OKLaboklab(92.06% -0.0509 0.0992)
OKLCHoklch(92.06% 0.112 117.1)
XYZxyz(66.9656, 79.6884, 41.5533)
Luminance0.7969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF98 #A898EF
analogous
#EFD398 #DFEF98 #B4EF98
triadic
#DFEF98 #98DFEF #EF98DF
tetradic
#DFEF98 #98EFD3 #A898EF #EF98B4
square
#DFEF98 #98EFD3 #A898EF #EF98B4
split-complementary
#DFEF98 #98B4EF #D398EF
monochromatic
#BEDF2E #CFE763 #DFEF98 #EFF7CD #F7FBE5

Accessibility & contrast

On white

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

On black

16.94
#DFEF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF98
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF98#FFFFFF#000000##000000
##DFEF981.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfef98;
/* rgb */ color: rgb(223, 239, 152);
/* oklch */ color: oklch(92.1% 0.112 117.1);
Tailwind
colors: {
  custom: {
    50: '#eaf4b7',
    500: '#dfef98',
    950: '#000000',
  },
}
SCSS
$custom: #dfef98;
$custom-light: #eaf4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef98",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 71.034,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92055,
    "c": 0.11152,
    "h": 117.1
  },
  "luminance": 0.79688
}

Semantic roles & 50–950 ramp

primary
#DFEF98
secondary
#7460CC
accent
#10D535
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFEF98

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

Preview Lab → · Contrast checker → · Palette generator →

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