#D2C166#D2C166

#D2C166 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.114 H 98.9°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#D2C166
RGBrgb(210, 193, 102)
HSLhsl(51, 55%, 61%)
HSVhsv(51, 51%, 82%)
CMYKcmyk(0%, 8.1%, 51.4%, 17.6%)
CIE-LABlab(77.76, -5.83, 47.53)
CIE-LCHlch(77.76, 47.89, 96.99°)
OKLaboklab(80.63% -0.0177 0.1125)
OKLCHoklch(80.63% 0.114 98.9)
XYZxyz(48.0481, 52.8027, 20.2288)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C166 #6677D2
analogous
#D28B66 #D2C166 #ADD266
triadic
#D2C166 #66D2C1 #C166D2
tetradic
#D2C166 #66D28B #6677D2 #D266AD
square
#D2C166 #66D28B #6677D2 #D266AD
split-complementary
#D2C166 #66ADD2 #8B66D2
monochromatic
#93822B #C2AC39 #D2C166 #E0D495 #EEE7C5

Accessibility & contrast

On white

1.82
#D2C166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#D2C166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C166
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C166#FFFFFF#000000##000000
##D2C1661.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD5E
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#E0B6AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c166;
/* rgb */ color: rgb(210, 193, 102);
/* oklch */ color: oklch(80.6% 0.114 98.9);
Tailwind
colors: {
  custom: {
    50: '#e2d394',
    500: '#d2c166',
    950: '#000000',
  },
}
SCSS
$custom: #d2c166;
$custom-light: #e2d394;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c166",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 50.556,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80627,
    "c": 0.1139,
    "h": 98.9
  },
  "luminance": 0.52801
}

Semantic roles & 50–950 ramp

primary
#D2C166
secondary
#445198
accent
#3CC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C166

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

Preview Lab → · Contrast checker → · Palette generator →

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