#DFD179#DFD179

#DFD179 is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.110 H 100.4°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#DFD179
RGBrgb(223, 209, 121)
HSLhsl(52, 61%, 67%)
HSVhsv(52, 46%, 87%)
CMYKcmyk(0%, 6.3%, 45.7%, 12.5%)
CIE-LABlab(83.27, -7.02, 45.20)
CIE-LCHlch(83.27, 45.74, 98.82°)
OKLaboklab(85.34% -0.0199 0.1087)
OKLCHoklch(85.34% 0.11 100.4)
XYZxyz(56.6845, 62.6712, 27.1963)
Luminance0.6267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD179 #7987DF
analogous
#DF9E79 #DFD179 #BADF79
triadic
#DFD179 #79DFD1 #D179DF
tetradic
#DFD179 #79DF9E #7987DF #DF79BA
square
#DFD179 #79DF9E #7987DF #DF79BA
split-complementary
#DFD179 #79BADF #9E79DF
monochromatic
#B3A02B #D3C048 #DFD179 #EBE2AA #F7F3DC

Accessibility & contrast

On white

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

On black

13.53
#DFD179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD179
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD179#FFFFFF#000000##000000
##DFD1791.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC72
Deuteranopia (green-blind)
#E4D27D
Tritanopia (blue-blind)
#EDC6BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd179;
/* rgb */ color: rgb(223, 209, 121);
/* oklch */ color: oklch(85.3% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#ebdea1',
    500: '#dfd179',
    950: '#000000',
  },
}
SCSS
$custom: #dfd179;
$custom-light: #ebdea1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd179",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 121
  },
  "hsl": {
    "h": 51.765,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85335,
    "c": 0.11047,
    "h": 100.4
  },
  "luminance": 0.62669
}

Semantic roles & 50–950 ramp

primary
#DFD179
secondary
#4857B4
accent
#34C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD179

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

Preview Lab → · Contrast checker → · Palette generator →

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