#DFD456#DFD456

#DFD456 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.5% C 0.146 H 104.3°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#DFD456
RGBrgb(223, 212, 86)
HSLhsl(55, 68%, 61%)
HSVhsv(55, 61%, 87%)
CMYKcmyk(0%, 4.9%, 61.4%, 12.5%)
CIE-LABlab(83.68, -11.34, 61.85)
CIE-LCHlch(83.68, 62.89, 100.39°)
OKLaboklab(85.54% -0.0361 0.1412)
OKLCHoklch(85.54% 0.146 104.3)
XYZxyz(55.6566, 63.4488, 18.1174)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD456 #5661DF
analogous
#DF8F56 #DFD456 #A6DF56
triadic
#DFD456 #56DFD4 #D456DF
tetradic
#DFD456 #56DF8F #5661DF #DF56A6
square
#DFD456 #56DF8F #5661DF #DF56A6
split-complementary
#DFD456 #56A6DF #8F56DF
monochromatic
#9D931E #D0C327 #DFD456 #E9E189 #F2EEBD

Accessibility & contrast

On white

1.53
#DFD456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#DFD456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD456
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD456#FFFFFF#000000##000000
##DFD4561.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD47
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#EFC7B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd456;
/* rgb */ color: rgb(223, 212, 86);
/* oklch */ color: oklch(85.5% 0.146 104.3);
Tailwind
colors: {
  custom: {
    50: '#ece08b',
    500: '#dfd456',
    950: '#000000',
  },
}
SCSS
$custom: #dfd456;
$custom-light: #ece08b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd456",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 55.182,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85539,
    "c": 0.14574,
    "h": 104.3
  },
  "luminance": 0.63447
}

Semantic roles & 50–950 ramp

primary
#DFD456
secondary
#3941A0
accent
#24D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD456

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

Preview Lab → · Contrast checker → · Palette generator →

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