#DFD964#DFD964

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

Color values

HEX#DFD964
RGBrgb(223, 217, 100)
HSLhsl(57, 66%, 63%)
HSVhsv(57, 55%, 87%)
CMYKcmyk(0%, 2.7%, 55.2%, 12.5%)
CIE-LABlab(85.12, -12.86, 57.32)
CIE-LCHlch(85.12, 58.75, 102.64°)
OKLaboklab(86.73% -0.0389 0.1333)
OKLCHoklch(86.73% 0.139 106.3)
XYZxyz(57.5462, 66.2355, 21.8075)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD964 #646ADF
analogous
#DF9B64 #DFD964 #A7DF64
triadic
#DFD964 #64DFD9 #D964DF
tetradic
#DFD964 #64DF9B #646ADF #DF64A7
square
#DFD964 #64DF9B #646ADF #DF64A7
split-complementary
#DFD964 #64A7DF #9B64DF
monochromatic
#A6A022 #D5CD31 #DFD964 #E9E597 #F4F2C9

Accessibility & contrast

On white

1.47
#DFD964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#DFD964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD964
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD964#FFFFFF#000000##000000
##DFD9641.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D258
Deuteranopia (green-blind)
#ECD76A
Tritanopia (blue-blind)
#EDCCBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd964;
/* rgb */ color: rgb(223, 217, 100);
/* oklch */ color: oklch(86.7% 0.139 106.3);
Tailwind
colors: {
  custom: {
    50: '#ebe494',
    500: '#dfd964',
    950: '#000000',
  },
}
SCSS
$custom: #dfd964;
$custom-light: #ebe494;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd964",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 100
  },
  "hsl": {
    "h": 57.073,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86725,
    "c": 0.13884,
    "h": 106.3
  },
  "luminance": 0.66234
}

Semantic roles & 50–950 ramp

primary
#DFD964
secondary
#3E44A9
accent
#21CE18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD964

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

Preview Lab → · Contrast checker → · Palette generator →

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