#DFD17E#DFD17E

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

Color values

HEX#DFD17E
RGBrgb(223, 209, 126)
HSLhsl(51, 60%, 68%)
HSVhsv(51, 43%, 87%)
CMYKcmyk(0%, 6.3%, 43.5%, 12.5%)
CIE-LABlab(83.34, -6.53, 42.81)
CIE-LCHlch(83.34, 43.30, 98.67°)
OKLaboklab(85.41% -0.0181 0.1036)
OKLCHoklch(85.41% 0.105 99.9)
XYZxyz(56.9991, 62.7971, 28.8532)
Luminance0.6280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD17E #7E8CDF
analogous
#DFA07E #DFD17E #BCDF7E
triadic
#DFD17E #7EDFD1 #D17EDF
tetradic
#DFD17E #7EDFA0 #7E8CDF #DF7EBC
square
#DFD17E #7EDFA0 #7E8CDF #DF7EBC
split-complementary
#DFD17E #7EBCDF #A07EDF
monochromatic
#B6A22D #D3C04D #DFD17E #EBE2AF #F7F4E0

Accessibility & contrast

On white

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

On black

13.56
#DFD17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD17E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD17E#FFFFFF#000000##000000
##DFD17E1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd17e;
/* rgb */ color: rgb(223, 209, 126);
/* oklch */ color: oklch(85.4% 0.105 99.9);
Tailwind
colors: {
  custom: {
    50: '#eadea5',
    500: '#dfd17e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd17e;
$custom-light: #eadea5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd17e",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 126
  },
  "hsl": {
    "h": 51.34,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85409,
    "c": 0.10516,
    "h": 99.9
  },
  "luminance": 0.62795
}

Semantic roles & 50–950 ramp

primary
#DFD17E
secondary
#4B5BB6
accent
#36C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD17E

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

Preview Lab → · Contrast checker → · Palette generator →

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