#DFDC56#DFDC56

#DFDC56 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.2% C 0.153 H 108.0°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#DFDC56
RGBrgb(223, 220, 86)
HSLhsl(59, 68%, 61%)
HSVhsv(59, 61%, 87%)
CMYKcmyk(0%, 1.3%, 61.4%, 12.5%)
CIE-LABlab(85.78, -15.33, 64.11)
CIE-LCHlch(85.78, 65.92, 103.44°)
OKLaboklab(87.21% -0.0474 0.146)
OKLCHoklch(87.21% 0.153 108)
XYZxyz(57.7062, 67.5480, 18.8006)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC56 #5659DF
analogous
#DF9756 #DFDC56 #9DDF56
triadic
#DFDC56 #56DFDC #DC56DF
tetradic
#DFDC56 #56DF97 #5659DF #DF569D
square
#DFDC56 #56DF97 #5659DF #DF569D
split-complementary
#DFDC56 #569DDF #9756DF
monochromatic
#9D9A1E #D0CD27 #DFDC56 #E9E789 #F2F1BD

Accessibility & contrast

On white

1.45
#DFDC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#DFDC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC56
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC56#FFFFFF#000000##000000
##DFDC561.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD446
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#EECFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfdc56;
/* rgb */ color: rgb(223, 220, 86);
/* oklch */ color: oklch(87.2% 0.153 108.0);
Tailwind
colors: {
  custom: {
    50: '#ece68b',
    500: '#dfdc56',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc56;
$custom-light: #ece68b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc56",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 58.686,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87213,
    "c": 0.15348,
    "h": 108
  },
  "luminance": 0.67546
}

Semantic roles & 50–950 ramp

primary
#DFDC56
secondary
#393BA0
accent
#19D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDC56

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

Preview Lab → · Contrast checker → · Palette generator →

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