#DFDFA2#DFDFA2

#DFDFA2 is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 88.9% C 0.079 H 107.9°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#DFDFA2
RGBrgb(223, 223, 162)
HSLhsl(60, 49%, 75%)
HSVhsv(60, 27%, 87%)
CMYKcmyk(0%, 0%, 27.4%, 12.5%)
CIE-LABlab(87.52, -9.47, 30.00)
CIE-LCHlch(87.52, 31.46, 107.53°)
OKLaboklab(88.91% -0.0243 0.0753)
OKLCHoklch(88.91% 0.079 107.9)
XYZxyz(63.3408, 71.0729, 44.5571)
Luminance0.7107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDFA2 #A2A2DF
analogous
#DFC0A2 #DFDFA2 #C0DFA2
triadic
#DFDFA2 #A2DFDF #DFA2DF
tetradic
#DFDFA2 #A2DFC0 #A2A2DF #DFA2C0
square
#DFDFA2 #A2DFC0 #A2A2DF #DFA2C0
split-complementary
#DFDFA2 #A2C0DF #C0A2DF
monochromatic
#C0C047 #CFCF74 #DFDFA2 #EFEFD0 #F7F7E8

Accessibility & contrast

On white

1.38
#DFDFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#DFDFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDFA2
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDFA2#FFFFFF#000000##000000
##DFDFA21.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9DA9E
Deuteranopia (green-blind)
#EADDA4
Tritanopia (blue-blind)
#E8D7CF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfdfa2;
/* rgb */ color: rgb(223, 223, 162);
/* oklch */ color: oklch(88.9% 0.079 107.9);
Tailwind
colors: {
  custom: {
    50: '#e9e8be',
    500: '#dfdfa2',
    950: '#000000',
  },
}
SCSS
$custom: #dfdfa2;
$custom-light: #e9e8be;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdfa2",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 162
  },
  "hsl": {
    "h": 60,
    "s": 48.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.88907,
    "c": 0.07909,
    "h": 107.9
  },
  "luminance": 0.71072
}

Semantic roles & 50–950 ramp

primary
#DFDFA2
secondary
#6E6EB8
accent
#29BC29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161612
muted
#848482

Preview Lab

Preview with #DFDFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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