#DFD960#DFD960

#DFD960 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.142 H 106.4°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#DFD960
RGBrgb(223, 217, 96)
HSLhsl(57, 66%, 63%)
HSVhsv(57, 57%, 87%)
CMYKcmyk(0%, 2.7%, 57%, 12.5%)
CIE-LABlab(85.08, -13.15, 59.06)
CIE-LCHlch(85.08, 60.51, 102.56°)
OKLaboklab(86.68% -0.0401 0.1366)
OKLCHoklch(86.68% 0.142 106.4)
XYZxyz(57.3574, 66.1600, 20.8128)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD960 #6066DF
analogous
#DF9960 #DFD960 #A6DF60
triadic
#DFD960 #60DFD9 #D960DF
tetradic
#DFD960 #60DF99 #6066DF #DF60A6
square
#DFD960 #60DF99 #6066DF #DF60A6
split-complementary
#DFD960 #60A6DF #9960DF
monochromatic
#A49D21 #D5CD2D #DFD960 #E9E593 #F4F1C6

Accessibility & contrast

On white

1.48
#DFD960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#DFD960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD960
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD960#FFFFFF#000000##000000
##DFD9601.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D253
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#EECCBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd960;
/* rgb */ color: rgb(223, 217, 96);
/* oklch */ color: oklch(86.7% 0.142 106.4);
Tailwind
colors: {
  custom: {
    50: '#ece491',
    500: '#dfd960',
    950: '#000000',
  },
}
SCSS
$custom: #dfd960;
$custom-light: #ece491;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd960",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 57.165,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86682,
    "c": 0.14234,
    "h": 106.4
  },
  "luminance": 0.66158
}

Semantic roles & 50–950 ramp

primary
#DFD960
secondary
#3D42A6
accent
#20CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD960

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

Preview Lab → · Contrast checker → · Palette generator →

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