#D2C86A#D2C86A

#D2C86A is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.117 H 103.2°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D2C86A
RGBrgb(210, 200, 106)
HSLhsl(54, 54%, 62%)
HSVhsv(54, 50%, 82%)
CMYKcmyk(0%, 4.8%, 49.5%, 17.6%)
CIE-LABlab(79.64, -9.07, 47.85)
CIE-LCHlch(79.64, 48.70, 100.74°)
OKLaboklab(82.14% -0.0266 0.1136)
OKLCHoklch(82.14% 0.117 103.2)
XYZxyz(49.8355, 56.0524, 21.8269)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C86A #6A74D2
analogous
#D2946A #D2C86A #A8D26A
triadic
#D2C86A #6AD2C8 #C86AD2
tetradic
#D2C86A #6AD294 #6A74D2 #D26AA8
square
#D2C86A #6AD294 #6A74D2 #D26AA8
split-complementary
#D2C86A #6AA8D2 #946AD2
monochromatic
#958B2D #C4B73B #D2C86A #E0D999 #EEEBC8

Accessibility & contrast

On white

1.72
#D2C86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D2C86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C86A
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C86A#FFFFFF#000000##000000
##D2C86A1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C262
Deuteranopia (green-blind)
#DAC86E
Tritanopia (blue-blind)
#DFBDB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c86a;
/* rgb */ color: rgb(210, 200, 106);
/* oklch */ color: oklch(82.1% 0.117 103.2);
Tailwind
colors: {
  custom: {
    50: '#e2d897',
    500: '#d2c86a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c86a;
$custom-light: #e2d897;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c86a",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 106
  },
  "hsl": {
    "h": 54.231,
    "s": 53.608,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82137,
    "c": 0.11664,
    "h": 103.2
  },
  "luminance": 0.56051
}

Semantic roles & 50–950 ramp

primary
#D2C86A
secondary
#464E9A
accent
#33C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2C86A

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

Preview Lab → · Contrast checker → · Palette generator →

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