#D2C666#D2C666

#D2C666 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.119 H 102.2°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D2C666
RGBrgb(210, 198, 102)
HSLhsl(53, 55%, 61%)
HSVhsv(53, 51%, 82%)
CMYKcmyk(0%, 5.7%, 51.4%, 17.6%)
CIE-LABlab(79.07, -8.40, 49.09)
CIE-LCHlch(79.07, 49.81, 99.71°)
OKLaboklab(81.67% -0.0251 0.1159)
OKLCHoklch(81.67% 0.119 102.2)
XYZxyz(49.1722, 55.0508, 20.6035)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C666 #6672D2
analogous
#D29066 #D2C666 #A8D266
triadic
#D2C666 #66D2C6 #C666D2
tetradic
#D2C666 #66D290 #6672D2 #D266A8
square
#D2C666 #66D290 #6672D2 #D266A8
split-complementary
#D2C666 #66A8D2 #9066D2
monochromatic
#93872B #C2B339 #D2C666 #E0D895 #EEE9C5

Accessibility & contrast

On white

1.75
#D2C666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#D2C666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C666
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C666#FFFFFF#000000##000000
##D2C6661.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15D
Deuteranopia (green-blind)
#D9C66A
Tritanopia (blue-blind)
#E0BBB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c666;
/* rgb */ color: rgb(210, 198, 102);
/* oklch */ color: oklch(81.7% 0.119 102.2);
Tailwind
colors: {
  custom: {
    50: '#e2d794',
    500: '#d2c666',
    950: '#000000',
  },
}
SCSS
$custom: #d2c666;
$custom-light: #e2d794;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c666",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 102
  },
  "hsl": {
    "h": 53.333,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81667,
    "c": 0.11861,
    "h": 102.2
  },
  "luminance": 0.55049
}

Semantic roles & 50–950 ramp

primary
#D2C666
secondary
#444D98
accent
#35C223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C666

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

Preview Lab → · Contrast checker → · Palette generator →

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