#D2C17A#D2C17A

#D2C17A is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.093 H 96.3°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D2C17A
RGBrgb(210, 193, 122)
HSLhsl(48, 49%, 65%)
HSVhsv(48, 42%, 82%)
CMYKcmyk(0%, 8.1%, 41.9%, 17.6%)
CIE-LABlab(78.02, -3.90, 37.87)
CIE-LCHlch(78.02, 38.07, 95.89°)
OKLaboklab(80.92% -0.0102 0.0923)
OKLCHoklch(80.92% 0.093 96.3)
XYZxyz(49.1623, 53.2484, 26.0969)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C17A #7A8BD2
analogous
#D2957A #D2C17A #B7D27A
triadic
#D2C17A #7AD2C1 #C17AD2
tetradic
#D2C17A #7AD295 #7A8BD2 #D27AB7
square
#D2C17A #7AD295 #7A8BD2 #D27AB7
split-complementary
#D2C17A #7AB7D2 #957AD2
monochromatic
#9D8935 #C3AC4C #D2C17A #E1D6A8 #F1ECD5

Accessibility & contrast

On white

1.80
#D2C17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#D2C17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C17A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C17A#FFFFFF#000000##000000
##D2C17A1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE75
Deuteranopia (green-blind)
#D3C37D
Tritanopia (blue-blind)
#DEB7AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c17a;
/* rgb */ color: rgb(210, 193, 122);
/* oklch */ color: oklch(80.9% 0.093 96.3);
Tailwind
colors: {
  custom: {
    50: '#e1d3a1',
    500: '#d2c17a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c17a;
$custom-light: #e1d3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c17a",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 122
  },
  "hsl": {
    "h": 48.409,
    "s": 49.438,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80921,
    "c": 0.0929,
    "h": 96.3
  },
  "luminance": 0.53247
}

Semantic roles & 50–950 ramp

primary
#D2C17A
secondary
#4F5FA2
accent
#45BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C17A

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

Preview Lab → · Contrast checker → · Palette generator →

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