#DFEC56#DFEC56

#DFEC56 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.6% C 0.170 H 114.0°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#DFEC56
RGBrgb(223, 236, 86)
HSLhsl(65, 80%, 63%)
HSVhsv(65, 64%, 93%)
CMYKcmyk(5.5%, 0%, 63.6%, 7.5%)
CIE-LABlab(90.02, -23.11, 68.60)
CIE-LCHlch(90.02, 72.39, 108.62°)
OKLaboklab(90.6% -0.0693 0.1555)
OKLCHoklch(90.6% 0.17 114)
XYZxyz(62.1082, 76.3519, 20.2679)
Luminance0.7635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC56 #6356EC
analogous
#ECAE56 #DFEC56 #94EC56
triadic
#DFEC56 #56DFEC #EC56DF
tetradic
#DFEC56 #56ECAE #6356EC #EC5694
square
#DFEC56 #56ECAE #6356EC #EC5694
split-complementary
#DFEC56 #5694EC #AE56EC
monochromatic
#A6B314 #D5E61F #DFEC56 #E9F28D #F4F8C4

Accessibility & contrast

On white

1.29
#DFEC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#DFEC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC56
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC56#FFFFFF#000000##000000
##DFEC561.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE142
Deuteranopia (green-blind)
#FCE460
Tritanopia (blue-blind)
#EDDFCD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dfec56;
/* rgb */ color: rgb(223, 236, 86);
/* oklch */ color: oklch(90.6% 0.170 114.0);
Tailwind
colors: {
  custom: {
    50: '#ecf28d',
    500: '#dfec56',
    950: '#000000',
  },
}
SCSS
$custom: #dfec56;
$custom-light: #ecf28d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec56",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 65.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.90603,
    "c": 0.17021,
    "h": 114
  },
  "luminance": 0.76351
}

Semantic roles & 50–950 ramp

primary
#DFEC56
secondary
#3E33B3
accent
#09DC1C
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEC56

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

Preview Lab → · Contrast checker → · Palette generator →

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