#DFEF8C#DFEF8C

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

Color values

HEX#DFEF8C
RGBrgb(223, 239, 140)
HSLhsl(70, 76%, 74%)
HSVhsv(70, 41%, 94%)
CMYKcmyk(6.7%, 0%, 41.4%, 6.3%)
CIE-LABlab(91.38, -20.00, 46.03)
CIE-LCHlch(91.38, 50.18, 113.48°)
OKLaboklab(91.87% -0.0555 0.1116)
OKLCHoklch(91.87% 0.125 116.4)
XYZxyz(66.0320, 79.3150, 36.6366)
Luminance0.7931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF8C #9C8CEF
analogous
#EFCE8C #DFEF8C #AEEF8C
triadic
#DFEF8C #8CDFEF #EF8CDF
tetradic
#DFEF8C #8CEFCE #9C8CEF #EF8CAE
square
#DFEF8C #8CEFCE #9C8CEF #EF8CAE
split-complementary
#DFEF8C #8CAEEF #CE8CEF
monochromatic
#C1E021 #D0E856 #DFEF8C #EEF6C2 #F8FBE4

Accessibility & contrast

On white

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

On black

16.86
#DFEF8C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF8C
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF8C#FFFFFF#000000##000000
##DFEF8C1.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfef8c;
/* rgb */ color: rgb(223, 239, 140);
/* oklch */ color: oklch(91.9% 0.125 116.4);
Tailwind
colors: {
  custom: {
    50: '#eaf4af',
    500: '#dfef8c',
    950: '#000000',
  },
}
SCSS
$custom: #dfef8c;
$custom-light: #eaf4af;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef8c",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 140
  },
  "hsl": {
    "h": 69.697,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91866,
    "c": 0.12467,
    "h": 116.4
  },
  "luminance": 0.79314
}

Semantic roles & 50–950 ramp

primary
#DFEF8C
secondary
#6855CB
accent
#0ED82E
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DFEF8C

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

Preview Lab → · Contrast checker → · Palette generator →

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