#DFEF4E#DFEF4E

#DFEF4E is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.2% C 0.179 H 114.9°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#DFEF4E
RGBrgb(223, 239, 78)
HSLhsl(66, 83%, 62%)
HSVhsv(66, 67%, 94%)
CMYKcmyk(6.7%, 0%, 67.4%, 6.3%)
CIE-LABlab(90.77, -25.00, 72.41)
CIE-LCHlch(90.77, 76.60, 109.05°)
OKLaboklab(91.18% -0.0753 0.1623)
OKLCHoklch(91.18% 0.179 114.9)
XYZxyz(62.6747, 77.9721, 18.9547)
Luminance0.7797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF4E #5E4EEF
analogous
#EFAF4E #DFEF4E #8EEF4E
triadic
#DFEF4E #4EDFEF #EF4EDF
tetradic
#DFEF4E #4EEFAF #5E4EEF #EF4E8E
square
#DFEF4E #4EEFAF #5E4EEF #EF4E8E
split-complementary
#DFEF4E #4E8EEF #AF4EEF
monochromatic
#A2B210 #D5EA16 #DFEF4E #E9F486 #F3F9BE

Accessibility & contrast

On white

1.27
#DFEF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#DFEF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF4E
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF4E#FFFFFF#000000##000000
##DFEF4E1.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE335
Deuteranopia (green-blind)
#FFE65A
Tritanopia (blue-blind)
#EDE2CF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfef4e;
/* rgb */ color: rgb(223, 239, 78);
/* oklch */ color: oklch(91.2% 0.179 114.9);
Tailwind
colors: {
  custom: {
    50: '#ecf488',
    500: '#dfef4e',
    950: '#000000',
  },
}
SCSS
$custom: #dfef4e;
$custom-light: #ecf488;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef4e",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 78
  },
  "hsl": {
    "h": 65.963,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.91182,
    "c": 0.17894,
    "h": 114.9
  },
  "luminance": 0.77971
}

Semantic roles & 50–950 ramp

primary
#DFEF4E
secondary
#3C2FB2
accent
#06E01B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DFEF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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