#DFD572#DFD572

#DFD572 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.1% C 0.122 H 103.5°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#DFD572
RGBrgb(223, 213, 114)
HSLhsl(54, 63%, 66%)
HSVhsv(54, 49%, 87%)
CMYKcmyk(0%, 4.5%, 48.9%, 12.5%)
CIE-LABlab(84.22, -9.69, 49.76)
CIE-LCHlch(84.22, 50.70, 101.02°)
OKLaboklab(86.06% -0.0283 0.1182)
OKLCHoklch(86.06% 0.122 103.5)
XYZxyz(57.2645, 64.4932, 25.3483)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD572 #727CDF
analogous
#DF9E72 #DFD572 #B2DF72
triadic
#DFD572 #72DFD5 #D572DF
tetradic
#DFD572 #72DF9E #727CDF #DF72B2
square
#DFD572 #72DF9E #727CDF #DF72B2
split-complementary
#DFD572 #72B2DF #9E72DF
monochromatic
#AFA228 #D4C640 #DFD572 #EAE4A4 #F6F3D6

Accessibility & contrast

On white

1.51
#DFD572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#DFD572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD572
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD572#FFFFFF#000000##000000
##DFD5721.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF69
Deuteranopia (green-blind)
#E8D577
Tritanopia (blue-blind)
#EDC9BE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd572;
/* rgb */ color: rgb(223, 213, 114);
/* oklch */ color: oklch(86.1% 0.122 103.5);
Tailwind
colors: {
  custom: {
    50: '#ebe19d',
    500: '#dfd572',
    950: '#000000',
  },
}
SCSS
$custom: #dfd572;
$custom-light: #ebe19d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd572",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 114
  },
  "hsl": {
    "h": 54.495,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86062,
    "c": 0.12158,
    "h": 103.5
  },
  "luminance": 0.64491
}

Semantic roles & 50–950 ramp

primary
#DFD572
secondary
#454EB1
accent
#2BCB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD572

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

Preview Lab → · Contrast checker → · Palette generator →

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