#DFD972#DFD972

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

Color values

HEX#DFD972
RGBrgb(223, 217, 114)
HSLhsl(57, 63%, 66%)
HSVhsv(57, 49%, 87%)
CMYKcmyk(0%, 2.7%, 48.9%, 12.5%)
CIE-LABlab(85.27, -11.71, 51.02)
CIE-LCHlch(85.27, 52.34, 102.92°)
OKLaboklab(86.89% -0.0341 0.121)
OKLCHoklch(86.89% 0.126 105.7)
XYZxyz(58.2830, 66.5302, 25.6878)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD972 #7278DF
analogous
#DFA272 #DFD972 #AEDF72
triadic
#DFD972 #72DFD9 #D972DF
tetradic
#DFD972 #72DFA2 #7278DF #DF72AE
square
#DFD972 #72DFA2 #7278DF #DF72AE
split-complementary
#DFD972 #72AEDF #A272DF
monochromatic
#AFA728 #D4CC40 #DFD972 #EAE6A4 #F6F4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD972#FFFFFF#000000##000000
##DFD9721.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)
#E8D269
Deuteranopia (green-blind)
#EBD777
Tritanopia (blue-blind)
#EDCDC1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd972;
/* rgb */ color: rgb(223, 217, 114);
/* oklch */ color: oklch(86.9% 0.126 105.7);
Tailwind
colors: {
  custom: {
    50: '#ebe49d',
    500: '#dfd972',
    950: '#000000',
  },
}
SCSS
$custom: #dfd972;
$custom-light: #ebe49d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd972",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 114
  },
  "hsl": {
    "h": 56.697,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86892,
    "c": 0.1257,
    "h": 105.7
  },
  "luminance": 0.66529
}

Semantic roles & 50–950 ramp

primary
#DFD972
secondary
#454AB1
accent
#24CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD972

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

Preview Lab → · Contrast checker → · Palette generator →

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