#DFD8A2#DFD8A2

#DFD8A2 is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.5% C 0.071 H 101.5°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#DFD8A2
RGBrgb(223, 216, 162)
HSLhsl(53, 49%, 75%)
HSVhsv(53, 27%, 87%)
CMYKcmyk(0%, 3.1%, 27.4%, 12.5%)
CIE-LABlab(85.71, -5.92, 27.56)
CIE-LCHlch(85.71, 28.19, 102.13°)
OKLaboklab(87.47% -0.0142 0.0694)
OKLCHoklch(87.47% 0.071 101.5)
XYZxyz(61.5091, 67.4095, 43.9465)
Luminance0.6741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD8A2 #A2A9DF
analogous
#DFB9A2 #DFD8A2 #C7DFA2
triadic
#DFD8A2 #A2DFD8 #D8A2DF
tetradic
#DFD8A2 #A2DFB9 #A2A9DF #DFA2C7
square
#DFD8A2 #A2DFB9 #A2A9DF #DFA2C7
split-complementary
#DFD8A2 #A2C7DF #B9A2DF
monochromatic
#C0B247 #CFC574 #DFD8A2 #EFEBD0 #F7F5E8

Accessibility & contrast

On white

1.45
#DFD8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#DFD8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD8A2
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD8A2#FFFFFF#000000##000000
##DFD8A21.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D49E
Deuteranopia (green-blind)
#E5D8A4
Tritanopia (blue-blind)
#E8D1CA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd8a2;
/* rgb */ color: rgb(223, 216, 162);
/* oklch */ color: oklch(87.5% 0.071 101.5);
Tailwind
colors: {
  custom: {
    50: '#e9e4be',
    500: '#dfd8a2',
    950: '#000000',
  },
}
SCSS
$custom: #dfd8a2;
$custom-light: #e9e4be;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd8a2",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 162
  },
  "hsl": {
    "h": 53.115,
    "s": 48.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.87474,
    "c": 0.07085,
    "h": 101.5
  },
  "luminance": 0.67408
}

Semantic roles & 50–950 ramp

primary
#DFD8A2
secondary
#6E76B8
accent
#3ABC29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DFD8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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