#D2D17A#D2D17A

#D2D17A is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.3% C 0.110 H 108.0°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D2D17A
RGBrgb(210, 209, 122)
HSLhsl(59, 49%, 65%)
HSVhsv(59, 42%, 82%)
CMYKcmyk(0%, 0.5%, 41.9%, 17.6%)
CIE-LABlab(82.22, -12.11, 43.17)
CIE-LCHlch(82.22, 44.84, 105.66°)
OKLaboklab(84.25% -0.0338 0.1043)
OKLCHoklch(84.25% 0.11 108)
XYZxyz(52.8926, 60.7089, 27.3403)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D17A #7A7BD2
analogous
#D2A57A #D2D17A #A7D27A
triadic
#D2D17A #7AD2D1 #D17AD2
tetradic
#D2D17A #7AD2A5 #7A7BD2 #D27AA7
square
#D2D17A #7AD2A5 #7A7BD2 #D27AA7
split-complementary
#D2D17A #7AA7D2 #A57AD2
monochromatic
#9D9B35 #C3C14C #D2D17A #E1E1A8 #F1F1D5

Accessibility & contrast

On white

1.60
#D2D17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#D2D17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D17A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D17A#FFFFFF#000000##000000
##D2D17A1.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB73
Deuteranopia (green-blind)
#DFCE7E
Tritanopia (blue-blind)
#DDC7BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d17a;
/* rgb */ color: rgb(210, 209, 122);
/* oklch */ color: oklch(84.3% 0.110 108.0);
Tailwind
colors: {
  custom: {
    50: '#e1dfa2',
    500: '#d2d17a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d17a;
$custom-light: #e1dfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d17a",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 122
  },
  "hsl": {
    "h": 59.318,
    "s": 49.438,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84251,
    "c": 0.10967,
    "h": 108
  },
  "luminance": 0.60708
}

Semantic roles & 50–950 ramp

primary
#D2D17A
secondary
#4F4FA2
accent
#2ABD29
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D17A

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

Preview Lab → · Contrast checker → · Palette generator →

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