#DFD7A2#DFD7A2

#DFD7A2 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.3% C 0.070 H 100.5°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#DFD7A2
RGBrgb(223, 215, 162)
HSLhsl(52, 49%, 75%)
HSVhsv(52, 27%, 87%)
CMYKcmyk(0%, 3.6%, 27.4%, 12.5%)
CIE-LABlab(85.45, -5.41, 27.21)
CIE-LCHlch(85.45, 27.74, 101.25°)
OKLaboklab(87.27% -0.0127 0.0686)
OKLCHoklch(87.27% 0.07 100.5)
XYZxyz(61.2537, 66.8987, 43.8614)
Luminance0.6690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD7A2 #A2AADF
analogous
#DFB8A2 #DFD7A2 #C8DFA2
triadic
#DFD7A2 #A2DFD7 #D7A2DF
tetradic
#DFD7A2 #A2DFB8 #A2AADF #DFA2C8
square
#DFD7A2 #A2DFB8 #A2AADF #DFA2C8
split-complementary
#DFD7A2 #A2C8DF #B8A2DF
monochromatic
#C0B047 #CFC374 #DFD7A2 #EFEBD0 #F7F5E8

Accessibility & contrast

On white

1.46
#DFD7A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#DFD7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD7A2
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD7A2#FFFFFF#000000##000000
##DFD7A21.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D39F
Deuteranopia (green-blind)
#E4D7A4
Tritanopia (blue-blind)
#E8D0C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd7a2;
/* rgb */ color: rgb(223, 215, 162);
/* oklch */ color: oklch(87.3% 0.070 100.5);
Tailwind
colors: {
  custom: {
    50: '#e9e3be',
    500: '#dfd7a2',
    950: '#000000',
  },
}
SCSS
$custom: #dfd7a2;
$custom-light: #e9e3be;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd7a2",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 162
  },
  "hsl": {
    "h": 52.131,
    "s": 48.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.8727,
    "c": 0.06975,
    "h": 100.5
  },
  "luminance": 0.66897
}

Semantic roles & 50–950 ramp

primary
#DFD7A2
secondary
#6E77B8
accent
#3DBC29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DFD7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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