#DFEF89#DFEF89

#DFEF89 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 91.8% C 0.128 H 116.3°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#DFEF89
RGBrgb(223, 239, 137)
HSLhsl(69, 76%, 74%)
HSVhsv(69, 43%, 94%)
CMYKcmyk(6.7%, 0%, 42.7%, 6.3%)
CIE-LABlab(91.34, -20.31, 47.43)
CIE-LCHlch(91.34, 51.59, 113.19°)
OKLaboklab(91.82% -0.0566 0.1146)
OKLCHoklch(91.82% 0.128 116.3)
XYZxyz(65.8138, 79.2278, 35.4875)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF89 #9989EF
analogous
#EFCC89 #DFEF89 #ACEF89
triadic
#DFEF89 #89DFEF #EF89DF
tetradic
#DFEF89 #89EFCC #9989EF #EF89AC
square
#DFEF89 #89EFCC #9989EF #EF89AC
split-complementary
#DFEF89 #89ACEF #CC89EF
monochromatic
#C1DF1E #D0E853 #DFEF89 #EEF6BF #F8FBE4

Accessibility & contrast

On white

1.25
#DFEF89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#DFEF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF89
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF89#FFFFFF#000000##000000
##DFEF891.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE681
Deuteranopia (green-blind)
#FAE78E
Tritanopia (blue-blind)
#E9E5D7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dfef89;
/* rgb */ color: rgb(223, 239, 137);
/* oklch */ color: oklch(91.8% 0.128 116.3);
Tailwind
colors: {
  custom: {
    50: '#eaf4ad',
    500: '#dfef89',
    950: '#000000',
  },
}
SCSS
$custom: #dfef89;
$custom-light: #eaf4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef89",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 137
  },
  "hsl": {
    "h": 69.412,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91822,
    "c": 0.12786,
    "h": 116.3
  },
  "luminance": 0.79227
}

Semantic roles & 50–950 ramp

primary
#DFEF89
secondary
#6552CA
accent
#0DD82D
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DFEF89

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

Preview Lab → · Contrast checker → · Palette generator →

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