#DFEC54#DFEC54

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

Color values

HEX#DFEC54
RGBrgb(223, 236, 84)
HSLhsl(65, 80%, 63%)
HSVhsv(65, 64%, 93%)
CMYKcmyk(5.5%, 0%, 64.4%, 7.5%)
CIE-LABlab(90.01, -23.23, 69.37)
CIE-LCHlch(90.01, 73.16, 108.52°)
OKLaboklab(90.59% -0.0698 0.1568)
OKLCHoklch(90.59% 0.172 114)
XYZxyz(62.0287, 76.3201, 19.8495)
Luminance0.7632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC54 #6154EC
analogous
#ECAD54 #DFEC54 #93EC54
triadic
#DFEC54 #54DFEC #EC54DF
tetradic
#DFEC54 #54ECAD #6154EC #EC5493
square
#DFEC54 #54ECAD #6154EC #EC5493
split-complementary
#DFEC54 #5493EC #AD54EC
monochromatic
#A4B214 #D5E61D #DFEC54 #E9F28B #F4F8C2

Accessibility & contrast

On white

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

On black

16.26
#DFEC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC54
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC54#FFFFFF#000000##000000
##DFEC541.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfec54;
/* rgb */ color: rgb(223, 236, 84);
/* oklch */ color: oklch(90.6% 0.172 114.0);
Tailwind
colors: {
  custom: {
    50: '#ecf28b',
    500: '#dfec54',
    950: '#000000',
  },
}
SCSS
$custom: #dfec54;
$custom-light: #ecf28b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec54",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 65.132,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90586,
    "c": 0.17164,
    "h": 114
  },
  "luminance": 0.76319
}

Semantic roles & 50–950 ramp

primary
#DFEC54
secondary
#3D32B2
accent
#09DC1B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DFEC54

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

Preview Lab → · Contrast checker → · Palette generator →

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