#DFC960#DFC960

#DFC960 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.128 H 97.6°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#DFC960
RGBrgb(223, 201, 96)
HSLhsl(50, 66%, 63%)
HSVhsv(50, 57%, 87%)
CMYKcmyk(0%, 9.9%, 57%, 12.5%)
CIE-LABlab(80.91, -5.06, 54.34)
CIE-LCHlch(80.91, 54.58, 95.32°)
OKLaboklab(83.37% -0.017 0.1264)
OKLCHoklch(83.37% 0.128 97.6)
XYZxyz(53.4314, 58.3081, 19.5042)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC960 #6076DF
analogous
#DF8960 #DFC960 #B6DF60
triadic
#DFC960 #60DFC9 #C960DF
tetradic
#DFC960 #60DF89 #6076DF #DF60B6
square
#DFC960 #60DF89 #6076DF #DF60B6
split-complementary
#DFC960 #60B6DF #8960DF
monochromatic
#A48D21 #D5B82D #DFC960 #E9DA93 #F4ECC6

Accessibility & contrast

On white

1.66
#DFC960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#DFC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC960
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC960#FFFFFF#000000##000000
##DFC9601.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC556
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#EFBCB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc960;
/* rgb */ color: rgb(223, 201, 96);
/* oklch */ color: oklch(83.4% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#ecd990',
    500: '#dfc960',
    950: '#000000',
  },
}
SCSS
$custom: #dfc960;
$custom-light: #ecd990;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc960",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 49.606,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83372,
    "c": 0.12757,
    "h": 97.6
  },
  "luminance": 0.58306
}

Semantic roles & 50–950 ramp

primary
#DFC960
secondary
#3D4FA6
accent
#37CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC960

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

Preview Lab → · Contrast checker → · Palette generator →

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