#DFEF8D#DFEF8D

#DFEF8D is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.9% C 0.124 H 116.5°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#DFEF8D
RGBrgb(223, 239, 141)
HSLhsl(70, 75%, 75%)
HSVhsv(70, 41%, 94%)
CMYKcmyk(6.7%, 0%, 41%, 6.3%)
CIE-LABlab(91.39, -19.89, 45.56)
CIE-LCHlch(91.39, 49.71, 113.58°)
OKLaboklab(91.88% -0.0551 0.1106)
OKLCHoklch(91.88% 0.124 116.5)
XYZxyz(66.1061, 79.3447, 37.0267)
Luminance0.7934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF8D #9D8DEF
analogous
#EFCE8D #DFEF8D #AEEF8D
triadic
#DFEF8D #8DDFEF #EF8DDF
tetradic
#DFEF8D #8DEFCE #9D8DEF #EF8DAE
square
#DFEF8D #8DEFCE #9D8DEF #EF8DAE
split-complementary
#DFEF8D #8DAEEF #CE8DEF
monochromatic
#C1E022 #D0E757 #DFEF8D #EEF7C3 #F7FBE4

Accessibility & contrast

On white

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

On black

16.87
#DFEF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF8D
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF8D#FFFFFF#000000##000000
##DFEF8D1.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfef8d;
/* rgb */ color: rgb(223, 239, 141);
/* oklch */ color: oklch(91.9% 0.124 116.5);
Tailwind
colors: {
  custom: {
    50: '#eaf4b0',
    500: '#dfef8d',
    950: '#000000',
  },
}
SCSS
$custom: #dfef8d;
$custom-light: #eaf4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef8d",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 141
  },
  "hsl": {
    "h": 69.796,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91881,
    "c": 0.1236,
    "h": 116.5
  },
  "luminance": 0.79344
}

Semantic roles & 50–950 ramp

primary
#DFEF8D
secondary
#6956CB
accent
#0ED82F
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DFEF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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