#D2D2AF#D2D2AF

#D2D2AF is a very light, muted yellow. Relative luminance 0.629; OKLCH L 85.5% C 0.047 H 107.4°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#D2D2AF
RGBrgb(210, 210, 175)
HSLhsl(60, 28%, 75%)
HSVhsv(60, 17%, 82%)
CMYKcmyk(0%, 0%, 16.7%, 17.6%)
CIE-LABlab(83.38, -5.84, 17.40)
CIE-LCHlch(83.38, 18.35, 108.57°)
OKLaboklab(85.47% -0.014 0.0447)
OKLCHoklch(85.47% 0.047 107.4)
XYZxyz(57.3622, 62.8905, 49.6663)
Luminance0.6289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D2AF #AFAFD2
analogous
#D2C0AF #D2D2AF #C0D2AF
triadic
#D2D2AF #AFD2D2 #D2AFD2
tetradic
#D2D2AF #AFD2C0 #AFAFD2 #D2AFC0
square
#D2D2AF #AFD2C0 #AFAFD2 #D2AFC0
split-complementary
#D2D2AF #AFC0D2 #C0AFD2
monochromatic
#A6A661 #BCBC88 #D2D2AF #E8E8D6 #F4F4EB

Accessibility & contrast

On white

1.55
#D2D2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#D2D2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D2AF
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D2AF#FFFFFF#000000##000000
##D2D2AF1.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CFAD
Deuteranopia (green-blind)
#D9D1B0
Tritanopia (blue-blind)
#D7CDC8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d2af;
/* rgb */ color: rgb(210, 210, 175);
/* oklch */ color: oklch(85.5% 0.047 107.4);
Tailwind
colors: {
  custom: {
    50: '#e0dfc7',
    500: '#d2d2af',
    950: '#000000',
  },
}
SCSS
$custom: #d2d2af;
$custom-light: #e0dfc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d2af",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 175
  },
  "hsl": {
    "h": 60,
    "s": 28,
    "l": 75.49
  },
  "oklch": {
    "l": 0.85468,
    "c": 0.04684,
    "h": 107.4
  },
  "luminance": 0.6289
}

Semantic roles & 50–950 ramp

primary
#D2D2AF
secondary
#7D7DA8
accent
#3FA73F
background
#FEFEFD
surface
#FCFCF9
border
#D5D5D2
text
#151513
muted
#848482

Preview Lab

Preview with #D2D2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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