#DFC964#DFC964

#DFC964 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.4% C 0.124 H 97.2°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#DFC964
RGBrgb(223, 201, 100)
HSLhsl(49, 66%, 63%)
HSVhsv(49, 55%, 87%)
CMYKcmyk(0%, 9.9%, 55.2%, 12.5%)
CIE-LABlab(80.95, -4.75, 52.53)
CIE-LCHlch(80.95, 52.75, 95.17°)
OKLaboklab(83.42% -0.0156 0.123)
OKLCHoklch(83.42% 0.124 97.2)
XYZxyz(53.6203, 58.3836, 20.4989)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC964 #647ADF
analogous
#DF8B64 #DFC964 #B7DF64
triadic
#DFC964 #64DFC9 #C964DF
tetradic
#DFC964 #64DF8B #647ADF #DF64B7
square
#DFC964 #64DF8B #647ADF #DF64B7
split-complementary
#DFC964 #64B7DF #8B64DF
monochromatic
#A68F22 #D5B731 #DFC964 #E9DB97 #F4ECC9

Accessibility & contrast

On white

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

On black

12.68
#DFC964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC964
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC964#FFFFFF#000000##000000
##DFC9641.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55A
Deuteranopia (green-blind)
#E0CC68
Tritanopia (blue-blind)
#EEBCB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc964;
/* rgb */ color: rgb(223, 201, 100);
/* oklch */ color: oklch(83.4% 0.124 97.2);
Tailwind
colors: {
  custom: {
    50: '#ebd993',
    500: '#dfc964',
    950: '#000000',
  },
}
SCSS
$custom: #dfc964;
$custom-light: #ebd993;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc964",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 100
  },
  "hsl": {
    "h": 49.268,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83419,
    "c": 0.12395,
    "h": 97.2
  },
  "luminance": 0.58381
}

Semantic roles & 50–950 ramp

primary
#DFC964
secondary
#3E51A9
accent
#38CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC964

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

Preview Lab → · Contrast checker → · Palette generator →

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