#DFED51#DFED51

#DFED51 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 90.8% C 0.175 H 114.3°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#DFED51
RGBrgb(223, 237, 81)
HSLhsl(65, 81%, 62%)
HSVhsv(65, 66%, 93%)
CMYKcmyk(5.9%, 0%, 65.8%, 7.1%)
CIE-LABlab(90.25, -23.89, 70.77)
CIE-LCHlch(90.25, 74.69, 108.65°)
OKLaboklab(90.78% -0.0719 0.1593)
OKLCHoklch(90.78% 0.175 114.3)
XYZxyz(62.2024, 76.8516, 19.3401)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFED51 #5F51ED
analogous
#EDAD51 #DFED51 #91ED51
triadic
#DFED51 #51DFED #ED51DF
tetradic
#DFED51 #51EDAD #5F51ED #ED5191
square
#DFED51 #51EDAD #5F51ED #ED5191
split-complementary
#DFED51 #5191ED #AD51ED
monochromatic
#A3B112 #D5E71A #DFED51 #E9F388 #F3F8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFED51#FFFFFF#000000##000000
##DFED511.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)
#FEE23A
Deuteranopia (green-blind)
#FDE55C
Tritanopia (blue-blind)
#EDE0CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfed51;
/* rgb */ color: rgb(223, 237, 81);
/* oklch */ color: oklch(90.8% 0.175 114.3);
Tailwind
colors: {
  custom: {
    50: '#ecf28a',
    500: '#dfed51',
    950: '#000000',
  },
}
SCSS
$custom: #dfed51;
$custom-light: #ecf28a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfed51",
  "rgb": {
    "r": 223,
    "g": 237,
    "b": 81
  },
  "hsl": {
    "h": 65.385,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.90776,
    "c": 0.1748,
    "h": 114.3
  },
  "luminance": 0.7685
}

Semantic roles & 50–950 ramp

primary
#DFED51
secondary
#3C31B1
accent
#08DE1B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DFED51

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

Preview Lab → · Contrast checker → · Palette generator →

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