#DFD17F#DFD17F

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

Color values

HEX#DFD17F
RGBrgb(223, 209, 127)
HSLhsl(51, 60%, 69%)
HSVhsv(51, 43%, 87%)
CMYKcmyk(0%, 6.3%, 43%, 12.5%)
CIE-LABlab(83.35, -6.42, 42.32)
CIE-LCHlch(83.35, 42.81, 98.63°)
OKLaboklab(85.42% -0.0177 0.1026)
OKLCHoklch(85.42% 0.104 99.8)
XYZxyz(57.0640, 62.8230, 29.1947)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD17F #7F8DDF
analogous
#DFA17F #DFD17F #BDDF7F
triadic
#DFD17F #7FDFD1 #D17FDF
tetradic
#DFD17F #7FDFA1 #7F8DDF #DF7FBD
square
#DFD17F #7FDFA1 #7F8DDF #DF7FBD
split-complementary
#DFD17F #7FBDDF #A17FDF
monochromatic
#B6A22E #D3BF4E #DFD17F #EBE3B0 #F7F4E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD17F#FFFFFF#000000##000000
##DFD17F1.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)
#DFCC79
Deuteranopia (green-blind)
#E3D282
Tritanopia (blue-blind)
#ECC6BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd17f;
/* rgb */ color: rgb(223, 209, 127);
/* oklch */ color: oklch(85.4% 0.104 99.8);
Tailwind
colors: {
  custom: {
    50: '#eadea5',
    500: '#dfd17f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd17f;
$custom-light: #eadea5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd17f",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 127
  },
  "hsl": {
    "h": 51.25,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85424,
    "c": 0.10409,
    "h": 99.8
  },
  "luminance": 0.62821
}

Semantic roles & 50–950 ramp

primary
#DFD17F
secondary
#4C5CB6
accent
#37C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD17F

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

Preview Lab → · Contrast checker → · Palette generator →

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