#DFEA56#DFEA56

#DFEA56 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.2% C 0.168 H 113.3°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#DFEA56
RGBrgb(223, 234, 86)
HSLhsl(64, 78%, 63%)
HSVhsv(64, 63%, 92%)
CMYKcmyk(4.7%, 0%, 63.2%, 8.2%)
CIE-LABlab(89.49, -22.15, 68.04)
CIE-LCHlch(89.49, 71.56, 108.03°)
OKLaboklab(90.18% -0.0666 0.1543)
OKLCHoklch(90.18% 0.168 113.3)
XYZxyz(61.5356, 75.2067, 20.0770)
Luminance0.7520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEA56 #6156EA
analogous
#EAAB56 #DFEA56 #95EA56
triadic
#DFEA56 #56DFEA #EA56DF
tetradic
#DFEA56 #56EAAB #6156EA #EA5695
square
#DFEA56 #56EAAB #6156EA #EA5695
split-complementary
#DFEA56 #5695EA #AB56EA
monochromatic
#A4B016 #D5E320 #DFEA56 #E9F18C #F4F8C3

Accessibility & contrast

On white

1.31
#DFEA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#DFEA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEA56
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEA56#FFFFFF#000000##000000
##DFEA561.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF43
Deuteranopia (green-blind)
#FAE360
Tritanopia (blue-blind)
#EDDDCC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfea56;
/* rgb */ color: rgb(223, 234, 86);
/* oklch */ color: oklch(90.2% 0.168 113.3);
Tailwind
colors: {
  custom: {
    50: '#ecf08c',
    500: '#dfea56',
    950: '#000000',
  },
}
SCSS
$custom: #dfea56;
$custom-light: #ecf08c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfea56",
  "rgb": {
    "r": 223,
    "g": 234,
    "b": 86
  },
  "hsl": {
    "h": 64.459,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90176,
    "c": 0.16805,
    "h": 113.3
  },
  "luminance": 0.75205
}

Semantic roles & 50–950 ramp

primary
#DFEA56
secondary
#3D34B0
accent
#0BDA1B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEA56

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

Preview Lab → · Contrast checker → · Palette generator →

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