#DFDFAF#DFDFAF

#DFDFAF is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.2% C 0.063 H 107.6°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#DFDFAF
RGBrgb(223, 223, 175)
HSLhsl(60, 43%, 78%)
HSVhsv(60, 22%, 87%)
CMYKcmyk(0%, 0%, 21.5%, 12.5%)
CIE-LABlab(87.76, -7.71, 23.61)
CIE-LCHlch(87.76, 24.84, 108.09°)
OKLaboklab(89.17% -0.0191 0.06)
OKLCHoklch(89.17% 0.063 107.6)
XYZxyz(64.5567, 71.5593, 50.9606)
Luminance0.7156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDFAF #AFAFDF
analogous
#DFC7AF #DFDFAF #C7DFAF
triadic
#DFDFAF #AFDFDF #DFAFDF
tetradic
#DFDFAF #AFDFC7 #AFAFDF #DFAFC7
square
#DFDFAF #AFDFC7 #AFAFDF #DFAFC7
split-complementary
#DFDFAF #AFC7DF #C7AFDF
monochromatic
#BCBC58 #CECE83 #DFDFAF #F0F0DB #F6F6E9

Accessibility & contrast

On white

1.37
#DFDFAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#DFDFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDFAF
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDFAF#FFFFFF#000000##000000
##DFDFAF1.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7DBAC
Deuteranopia (green-blind)
#E8DDB1
Tritanopia (blue-blind)
#E6D9D2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #dfdfaf;
/* rgb */ color: rgb(223, 223, 175);
/* oklch */ color: oklch(89.2% 0.063 107.6);
Tailwind
colors: {
  custom: {
    50: '#e9e8c7',
    500: '#dfdfaf',
    950: '#000000',
  },
}
SCSS
$custom: #dfdfaf;
$custom-light: #e9e8c7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdfaf",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 175
  },
  "hsl": {
    "h": 60,
    "s": 42.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.89171,
    "c": 0.06298,
    "h": 107.6
  },
  "luminance": 0.71558
}

Semantic roles & 50–950 ramp

primary
#DFDFAF
secondary
#7B7BB8
accent
#30B630
background
#FEFEFD
surface
#FDFCF9
border
#D5D5D2
text
#161613
muted
#848482

Preview Lab

Preview with #DFDFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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