#DFC976#DFC976

#DFC976 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.106 H 95.0°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#DFC976
RGBrgb(223, 201, 118)
HSLhsl(47, 62%, 67%)
HSVhsv(47, 47%, 87%)
CMYKcmyk(0%, 9.9%, 47.1%, 12.5%)
CIE-LABlab(81.17, -3.20, 44.08)
CIE-LCHlch(81.17, 44.20, 94.15°)
OKLaboklab(83.66% -0.0092 0.106)
OKLCHoklch(83.66% 0.106 95)
XYZxyz(54.5897, 58.7714, 25.6045)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC976 #768CDF
analogous
#DF9576 #DFC976 #C0DF76
triadic
#DFC976 #76DFC9 #C976DF
tetradic
#DFC976 #76DF95 #768CDF #DF76C0
square
#DFC976 #76DF95 #768CDF #DF76C0
split-complementary
#DFC976 #76C0DF #9576DF
monochromatic
#B19529 #D3B544 #DFC976 #EBDDA8 #F6F0D9

Accessibility & contrast

On white

1.65
#DFC976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#DFC976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC976
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC976#FFFFFF#000000##000000
##DFC9761.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C66F
Deuteranopia (green-blind)
#DECD79
Tritanopia (blue-blind)
#EDBEB5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfc976;
/* rgb */ color: rgb(223, 201, 118);
/* oklch */ color: oklch(83.7% 0.106 95.0);
Tailwind
colors: {
  custom: {
    50: '#ebd99f',
    500: '#dfc976',
    950: '#000000',
  },
}
SCSS
$custom: #dfc976;
$custom-light: #ebd99f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc976",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 118
  },
  "hsl": {
    "h": 47.429,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83658,
    "c": 0.10635,
    "h": 95
  },
  "luminance": 0.58769
}

Semantic roles & 50–950 ramp

primary
#DFC976
secondary
#465DB3
accent
#40CA1C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC976

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

Preview Lab → · Contrast checker → · Palette generator →

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