#DFEC71#DFEC71

#DFEC71 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 90.9% C 0.148 H 114.4°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#DFEC71
RGBrgb(223, 236, 113)
HSLhsl(66, 76%, 68%)
HSVhsv(66, 52%, 93%)
CMYKcmyk(5.5%, 0%, 52.1%, 7.5%)
CIE-LABlab(90.26, -21.14, 57.38)
CIE-LCHlch(90.26, 61.15, 110.22°)
OKLaboklab(90.87% -0.0611 0.1348)
OKLCHoklch(90.87% 0.148 114.4)
XYZxyz(63.4086, 76.8721, 27.1171)
Luminance0.7687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC71 #7E71EC
analogous
#ECBB71 #DFEC71 #A1EC71
triadic
#DFEC71 #71DFEC #EC71DF
tetradic
#DFEC71 #71ECBB #7E71EC #EC71A1
square
#DFEC71 #71ECBB #7E71EC #EC71A1
split-complementary
#DFEC71 #71A1EC #BB71EC
monochromatic
#B6C81B #D3E53B #DFEC71 #EBF3A7 #F7FADD

Accessibility & contrast

On white

1.28
#DFEC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#DFEC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC71
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC71#FFFFFF#000000##000000
##DFEC711.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE265
Deuteranopia (green-blind)
#FAE478
Tritanopia (blue-blind)
#EBE0D0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec71;
/* rgb */ color: rgb(223, 236, 113);
/* oklch */ color: oklch(90.9% 0.148 114.4);
Tailwind
colors: {
  custom: {
    50: '#ebf29d',
    500: '#dfec71',
    950: '#000000',
  },
}
SCSS
$custom: #dfec71;
$custom-light: #ebf29d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec71",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 66.341,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90872,
    "c": 0.14794,
    "h": 114.4
  },
  "luminance": 0.76871
}

Semantic roles & 50–950 ramp

primary
#DFEC71
secondary
#4B3DC4
accent
#0DD922
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160E
muted
#85857F

Preview Lab

Preview with #DFEC71

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

Preview Lab → · Contrast checker → · Palette generator →

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