#D2C86E#D2C86E

#D2C86E is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.2% C 0.113 H 102.9°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#D2C86E
RGBrgb(210, 200, 110)
HSLhsl(54, 53%, 63%)
HSVhsv(54, 48%, 82%)
CMYKcmyk(0%, 4.8%, 47.6%, 17.6%)
CIE-LABlab(79.69, -8.71, 45.96)
CIE-LCHlch(79.69, 46.78, 100.73°)
OKLaboklab(82.19% -0.0252 0.1097)
OKLCHoklch(82.19% 0.113 102.9)
XYZxyz(50.0484, 56.1375, 22.9481)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C86E #6E78D2
analogous
#D2966E #D2C86E #AAD26E
triadic
#D2C86E #6ED2C8 #C86ED2
tetradic
#D2C86E #6ED296 #6E78D2 #D26EAA
square
#D2C86E #6ED296 #6E78D2 #D26EAA
split-complementary
#D2C86E #6EAAD2 #966ED2
monochromatic
#978C2F #C4B63F #D2C86E #E0DA9D #EFEBCB

Accessibility & contrast

On white

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

On black

12.23
#D2C86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C86E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C86E#FFFFFF#000000##000000
##D2C86E1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C366
Deuteranopia (green-blind)
#DAC872
Tritanopia (blue-blind)
#DFBDB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c86e;
/* rgb */ color: rgb(210, 200, 110);
/* oklch */ color: oklch(82.2% 0.113 102.9);
Tailwind
colors: {
  custom: {
    50: '#e2d899',
    500: '#d2c86e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c86e;
$custom-light: #e2d899;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c86e",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 110
  },
  "hsl": {
    "h": 54,
    "s": 52.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82191,
    "c": 0.11258,
    "h": 102.9
  },
  "luminance": 0.56136
}

Semantic roles & 50–950 ramp

primary
#D2C86E
secondary
#48509C
accent
#35C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2C86E

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

Preview Lab → · Contrast checker → · Palette generator →

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