#DFD956#DFD956

#DFD956 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.151 H 106.7°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#DFD956
RGBrgb(223, 217, 86)
HSLhsl(57, 68%, 61%)
HSVhsv(57, 61%, 87%)
CMYKcmyk(0%, 2.7%, 61.4%, 12.5%)
CIE-LABlab(84.99, -13.84, 63.27)
CIE-LCHlch(84.99, 64.76, 102.34°)
OKLaboklab(86.58% -0.0432 0.1442)
OKLCHoklch(86.58% 0.151 106.7)
XYZxyz(56.9259, 65.9874, 18.5405)
Luminance0.6599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD956 #565CDF
analogous
#DF9456 #DFD956 #A1DF56
triadic
#DFD956 #56DFD9 #D956DF
tetradic
#DFD956 #56DF94 #565CDF #DF56A1
square
#DFD956 #56DF94 #565CDF #DF56A1
split-complementary
#DFD956 #56A1DF #9456DF
monochromatic
#9D971E #D0C927 #DFD956 #E9E589 #F2F0BD

Accessibility & contrast

On white

1.48
#DFD956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#DFD956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD956
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD956#FFFFFF#000000##000000
##DFD9561.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD146
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#EECCBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd956;
/* rgb */ color: rgb(223, 217, 86);
/* oklch */ color: oklch(86.6% 0.151 106.7);
Tailwind
colors: {
  custom: {
    50: '#ece48b',
    500: '#dfd956',
    950: '#000000',
  },
}
SCSS
$custom: #dfd956;
$custom-light: #ece48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd956",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 57.372,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86583,
    "c": 0.15052,
    "h": 106.7
  },
  "luminance": 0.65986
}

Semantic roles & 50–950 ramp

primary
#DFD956
secondary
#393DA0
accent
#1ED015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD956

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

Preview Lab → · Contrast checker → · Palette generator →

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