#DFEC59#DFEC59

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

Color values

HEX#DFEC59
RGBrgb(223, 236, 89)
HSLhsl(65, 79%, 64%)
HSVhsv(65, 62%, 93%)
CMYKcmyk(5.5%, 0%, 62.3%, 7.5%)
CIE-LABlab(90.05, -22.92, 67.43)
CIE-LCHlch(90.05, 71.22, 108.77°)
OKLaboklab(90.63% -0.0685 0.1534)
OKLCHoklch(90.63% 0.168 114)
XYZxyz(62.2316, 76.4013, 20.9179)
Luminance0.7640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC59 #6659EC
analogous
#ECAF59 #DFEC59 #95EC59
triadic
#DFEC59 #59DFEC #EC59DF
tetradic
#DFEC59 #59ECAF #6659EC #EC5995
square
#DFEC59 #59ECAF #6659EC #EC5995
split-complementary
#DFEC59 #5995EC #AF59EC
monochromatic
#A8B615 #D4E622 #DFEC59 #EAF290 #F4F9C7

Accessibility & contrast

On white

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

On black

16.28
#DFEC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC59
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC59#FFFFFF#000000##000000
##DFEC591.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfec59;
/* rgb */ color: rgb(223, 236, 89);
/* oklch */ color: oklch(90.6% 0.168 114.0);
Tailwind
colors: {
  custom: {
    50: '#ecf28e',
    500: '#dfec59',
    950: '#000000',
  },
}
SCSS
$custom: #dfec59;
$custom-light: #ecf28e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec59",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 89
  },
  "hsl": {
    "h": 65.306,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.90628,
    "c": 0.16801,
    "h": 114
  },
  "luminance": 0.764
}

Semantic roles & 50–950 ramp

primary
#DFEC59
secondary
#3F34B5
accent
#0ADC1C
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEC59

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

Preview Lab → · Contrast checker → · Palette generator →

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