#DFC980#DFC980

#DFC980 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.8% C 0.096 H 93.2°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#DFC980
RGBrgb(223, 201, 128)
HSLhsl(46, 60%, 69%)
HSVhsv(46, 43%, 87%)
CMYKcmyk(0%, 9.9%, 42.6%, 12.5%)
CIE-LABlab(81.30, -2.21, 39.23)
CIE-LCHlch(81.30, 39.29, 93.23°)
OKLaboklab(83.81% -0.0054 0.0956)
OKLCHoklch(83.81% 0.096 93.2)
XYZxyz(55.2158, 59.0218, 28.9017)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC980 #8096DF
analogous
#DF9A80 #DFC980 #C6DF80
triadic
#DFC980 #80DFC9 #C980DF
tetradic
#DFC980 #80DF9A #8096DF #DF80C6
square
#DFC980 #80DF9A #8096DF #DF80C6
split-complementary
#DFC980 #80C6DF #9A80DF
monochromatic
#B7972E #D3B44F #DFC980 #EBDEB1 #F8F3E2

Accessibility & contrast

On white

1.64
#DFC980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#DFC980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC980
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC980#FFFFFF#000000##000000
##DFC9801.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67A
Deuteranopia (green-blind)
#DDCD83
Tritanopia (blue-blind)
#EDBEB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfc980;
/* rgb */ color: rgb(223, 201, 128);
/* oklch */ color: oklch(83.8% 0.096 93.2);
Tailwind
colors: {
  custom: {
    50: '#ead9a6',
    500: '#dfc980',
    950: '#000000',
  },
}
SCSS
$custom: #dfc980;
$custom-light: #ead9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc980",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 128
  },
  "hsl": {
    "h": 46.105,
    "s": 59.748,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83811,
    "c": 0.09577,
    "h": 93.2
  },
  "luminance": 0.5902
}

Semantic roles & 50–950 ramp

primary
#DFC980
secondary
#4D65B6
accent
#45C71E
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC980

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

Preview Lab → · Contrast checker → · Palette generator →

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