#DFD973#DFD973

#DFD973 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.125 H 105.7°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#DFD973
RGBrgb(223, 217, 115)
HSLhsl(57, 63%, 66%)
HSVhsv(57, 48%, 87%)
CMYKcmyk(0%, 2.7%, 48.4%, 12.5%)
CIE-LABlab(85.28, -11.62, 50.55)
CIE-LCHlch(85.28, 51.87, 102.94°)
OKLaboklab(86.91% -0.0337 0.1201)
OKLCHoklch(86.91% 0.125 105.7)
XYZxyz(58.3402, 66.5531, 25.9892)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD973 #7379DF
analogous
#DFA373 #DFD973 #AFDF73
triadic
#DFD973 #73DFD9 #D973DF
tetradic
#DFD973 #73DFA3 #7379DF #DF73AF
square
#DFD973 #73DFA3 #7379DF #DF73AF
split-complementary
#DFD973 #73AFDF #A373DF
monochromatic
#AFA828 #D4CB41 #DFD973 #EAE7A5 #F6F4D7

Accessibility & contrast

On white

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

On black

14.31
#DFD973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD973
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD973#FFFFFF#000000##000000
##DFD9731.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26A
Deuteranopia (green-blind)
#EBD778
Tritanopia (blue-blind)
#ECCDC1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd973;
/* rgb */ color: rgb(223, 217, 115);
/* oklch */ color: oklch(86.9% 0.125 105.7);
Tailwind
colors: {
  custom: {
    50: '#ebe49d',
    500: '#dfd973',
    950: '#000000',
  },
}
SCSS
$custom: #dfd973;
$custom-light: #ebe49d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd973",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 115
  },
  "hsl": {
    "h": 56.667,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86905,
    "c": 0.1247,
    "h": 105.7
  },
  "luminance": 0.66551
}

Semantic roles & 50–950 ramp

primary
#DFD973
secondary
#454BB1
accent
#25CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD973

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

Preview Lab → · Contrast checker → · Palette generator →

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