#DFD156#DFD156

#DFD156 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.9% C 0.143 H 102.8°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#DFD156
RGBrgb(223, 209, 86)
HSLhsl(54, 68%, 61%)
HSVhsv(54, 61%, 87%)
CMYKcmyk(0%, 6.3%, 61.4%, 12.5%)
CIE-LABlab(82.89, -9.83, 61.01)
CIE-LCHlch(82.89, 61.79, 99.15°)
OKLaboklab(84.92% -0.0318 0.1394)
OKLCHoklch(84.92% 0.143 102.8)
XYZxyz(54.9137, 61.9629, 17.8697)
Luminance0.6196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD156 #5664DF
analogous
#DF8D56 #DFD156 #A8DF56
triadic
#DFD156 #56DFD1 #D156DF
tetradic
#DFD156 #56DF8D #5664DF #DF56A8
square
#DFD156 #56DF8D #5664DF #DF56A8
split-complementary
#DFD156 #56A8DF #8D56DF
monochromatic
#9D901E #D0BF27 #DFD156 #E9DF89 #F2EDBD

Accessibility & contrast

On white

1.57
#DFD156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#DFD156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD156
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD156#FFFFFF#000000##000000
##DFD1561.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB48
Deuteranopia (green-blind)
#E7D15D
Tritanopia (blue-blind)
#EFC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd156;
/* rgb */ color: rgb(223, 209, 86);
/* oklch */ color: oklch(84.9% 0.143 102.8);
Tailwind
colors: {
  custom: {
    50: '#ecde8b',
    500: '#dfd156',
    950: '#000000',
  },
}
SCSS
$custom: #dfd156;
$custom-light: #ecde8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd156",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 53.869,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84916,
    "c": 0.14298,
    "h": 102.8
  },
  "luminance": 0.61961
}

Semantic roles & 50–950 ramp

primary
#DFD156
secondary
#3943A0
accent
#28D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD156

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

Preview Lab → · Contrast checker → · Palette generator →

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