#DFD372#DFD372

#DFD372 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.120 H 102.3°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#DFD372
RGBrgb(223, 211, 114)
HSLhsl(53, 63%, 66%)
HSVhsv(53, 49%, 87%)
CMYKcmyk(0%, 5.4%, 48.9%, 12.5%)
CIE-LABlab(83.70, -8.68, 49.13)
CIE-LCHlch(83.70, 49.90, 100.02°)
OKLaboklab(85.65% -0.0254 0.1169)
OKLCHoklch(85.65% 0.12 102.3)
XYZxyz(56.7645, 63.4933, 25.1816)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD372 #727EDF
analogous
#DF9C72 #DFD372 #B4DF72
triadic
#DFD372 #72DFD3 #D372DF
tetradic
#DFD372 #72DF9C #727EDF #DF72B4
square
#DFD372 #72DF9C #727EDF #DF72B4
split-complementary
#DFD372 #72B4DF #9C72DF
monochromatic
#AFA028 #D4C340 #DFD372 #EAE3A4 #F6F2D6

Accessibility & contrast

On white

1.53
#DFD372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#DFD372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD372
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD372#FFFFFF#000000##000000
##DFD3721.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E6D376
Tritanopia (blue-blind)
#EDC7BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd372;
/* rgb */ color: rgb(223, 211, 114);
/* oklch */ color: oklch(85.6% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#ebe09d',
    500: '#dfd372',
    950: '#000000',
  },
}
SCSS
$custom: #dfd372;
$custom-light: #ebe09d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd372",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 53.394,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85649,
    "c": 0.11959,
    "h": 102.3
  },
  "luminance": 0.63491
}

Semantic roles & 50–950 ramp

primary
#DFD372
secondary
#4550B1
accent
#2ECB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD372

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

Preview Lab → · Contrast checker → · Palette generator →

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