#D2CD66#D2CD66

#D2CD66 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.126 H 106.3°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D2CD66
RGBrgb(210, 205, 102)
HSLhsl(57, 55%, 61%)
HSVhsv(57, 51%, 82%)
CMYKcmyk(0%, 2.4%, 51.4%, 17.6%)
CIE-LABlab(80.92, -11.96, 51.28)
CIE-LCHlch(80.92, 52.65, 103.13°)
OKLaboklab(83.14% -0.0353 0.1207)
OKLCHoklch(83.14% 0.126 106.3)
XYZxyz(50.8093, 58.3250, 21.1492)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD66 #666BD2
analogous
#D29766 #D2CD66 #A1D266
triadic
#D2CD66 #66D2CD #CD66D2
tetradic
#D2CD66 #66D297 #666BD2 #D266A1
square
#D2CD66 #66D297 #666BD2 #D266A1
split-complementary
#D2CD66 #66A1D2 #9766D2
monochromatic
#938E2B #C2BB39 #D2CD66 #E0DC95 #EEECC5

Accessibility & contrast

On white

1.66
#D2CD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#D2CD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD66
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD66#FFFFFF#000000##000000
##D2CD661.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC65C
Deuteranopia (green-blind)
#DECB6B
Tritanopia (blue-blind)
#DFC2B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd66;
/* rgb */ color: rgb(210, 205, 102);
/* oklch */ color: oklch(83.1% 0.126 106.3);
Tailwind
colors: {
  custom: {
    50: '#e2dc94',
    500: '#d2cd66',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd66;
$custom-light: #e2dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd66",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 57.222,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83136,
    "c": 0.12574,
    "h": 106.3
  },
  "luminance": 0.58324
}

Semantic roles & 50–950 ramp

primary
#D2CD66
secondary
#444898
accent
#2BC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CD66

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

Preview Lab → · Contrast checker → · Palette generator →

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