#DFD966#DFD966

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

Color values

HEX#DFD966
RGBrgb(223, 217, 102)
HSLhsl(57, 65%, 64%)
HSVhsv(57, 54%, 87%)
CMYKcmyk(0%, 2.7%, 54.3%, 12.5%)
CIE-LABlab(85.14, -12.70, 56.44)
CIE-LCHlch(85.14, 57.85, 102.68°)
OKLaboklab(86.75% -0.0382 0.1316)
OKLCHoklch(86.75% 0.137 106.2)
XYZxyz(57.6442, 66.2747, 22.3236)
Luminance0.6627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD966 #666CDF
analogous
#DF9C66 #DFD966 #A8DF66
triadic
#DFD966 #66DFD9 #D966DF
tetradic
#DFD966 #66DF9C #666CDF #DF66A8
square
#DFD966 #66DF9C #666CDF #DF66A8
split-complementary
#DFD966 #66A8DF #9C66DF
monochromatic
#A8A123 #D4CC33 #DFD966 #EAE699 #F4F2CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD966#FFFFFF#000000##000000
##DFD9661.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)
#E9D25B
Deuteranopia (green-blind)
#ECD76C
Tritanopia (blue-blind)
#EDCDBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd966;
/* rgb */ color: rgb(223, 217, 102);
/* oklch */ color: oklch(86.7% 0.137 106.2);
Tailwind
colors: {
  custom: {
    50: '#ebe495',
    500: '#dfd966',
    950: '#000000',
  },
}
SCSS
$custom: #dfd966;
$custom-light: #ebe495;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd966",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 57.025,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86747,
    "c": 0.13704,
    "h": 106.2
  },
  "luminance": 0.66273
}

Semantic roles & 50–950 ramp

primary
#DFD966
secondary
#3F45AA
accent
#21CD18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD966

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

Preview Lab → · Contrast checker → · Palette generator →

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