#DFD979#DFD979

#DFD979 is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.119 H 105.4°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#DFD979
RGBrgb(223, 217, 121)
HSLhsl(56, 61%, 67%)
HSVhsv(56, 46%, 87%)
CMYKcmyk(0%, 2.7%, 45.7%, 12.5%)
CIE-LABlab(85.35, -11.06, 47.76)
CIE-LCHlch(85.35, 49.02, 103.04°)
OKLaboklab(86.99% -0.0316 0.1144)
OKLCHoklch(86.99% 0.119 105.4)
XYZxyz(58.6968, 66.6957, 27.8670)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD979 #797FDF
analogous
#DFA679 #DFD979 #B2DF79
triadic
#DFD979 #79DFD9 #D979DF
tetradic
#DFD979 #79DFA6 #797FDF #DF79B2
square
#DFD979 #79DFA6 #797FDF #DF79B2
split-complementary
#DFD979 #79B2DF #A679DF
monochromatic
#B3AB2B #D3CB48 #DFD979 #EBE7AA #F7F5DC

Accessibility & contrast

On white

1.46
#DFD979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#DFD979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD979
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD979#FFFFFF#000000##000000
##DFD9791.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D371
Deuteranopia (green-blind)
#EAD77D
Tritanopia (blue-blind)
#ECCEC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd979;
/* rgb */ color: rgb(223, 217, 121);
/* oklch */ color: oklch(87.0% 0.119 105.4);
Tailwind
colors: {
  custom: {
    50: '#ebe4a1',
    500: '#dfd979',
    950: '#000000',
  },
}
SCSS
$custom: #dfd979;
$custom-light: #ebe4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd979",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 121
  },
  "hsl": {
    "h": 56.471,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86986,
    "c": 0.11863,
    "h": 105.4
  },
  "luminance": 0.66694
}

Semantic roles & 50–950 ramp

primary
#DFD979
secondary
#484EB4
accent
#27C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD979

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

Preview Lab → · Contrast checker → · Palette generator →

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