#DFD17D#DFD17D

#DFD17D is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.106 H 100.0°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#DFD17D
RGBrgb(223, 209, 125)
HSLhsl(51, 60%, 68%)
HSVhsv(51, 44%, 87%)
CMYKcmyk(0%, 6.3%, 43.9%, 12.5%)
CIE-LABlab(83.32, -6.63, 43.29)
CIE-LCHlch(83.32, 43.79, 98.70°)
OKLaboklab(85.39% -0.0184 0.1046)
OKLCHoklch(85.39% 0.106 100)
XYZxyz(56.9349, 62.7714, 28.5150)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD17D #7D8BDF
analogous
#DFA07D #DFD17D #BCDF7D
triadic
#DFD17D #7DDFD1 #D17DDF
tetradic
#DFD17D #7DDFA0 #7D8BDF #DF7DBC
square
#DFD17D #7DDFA0 #7D8BDF #DF7DBC
split-complementary
#DFD17D #7DBCDF #A07DDF
monochromatic
#B5A22D #D3C04C #DFD17D #EBE2AE #F7F4DF

Accessibility & contrast

On white

1.55
#DFD17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#DFD17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD17D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD17D#FFFFFF#000000##000000
##DFD17D1.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC76
Deuteranopia (green-blind)
#E4D280
Tritanopia (blue-blind)
#ECC6BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd17d;
/* rgb */ color: rgb(223, 209, 125);
/* oklch */ color: oklch(85.4% 0.106 100.0);
Tailwind
colors: {
  custom: {
    50: '#eadea4',
    500: '#dfd17d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd17d;
$custom-light: #eadea4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd17d",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 125
  },
  "hsl": {
    "h": 51.429,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85394,
    "c": 0.10623,
    "h": 100
  },
  "luminance": 0.6277
}

Semantic roles & 50–950 ramp

primary
#DFD17D
secondary
#4A5AB6
accent
#36C81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD17D

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

Preview Lab → · Contrast checker → · Palette generator →

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