#D2CD80#D2CD80

#D2CD80 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.098 H 105.1°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D2CD80
RGBrgb(210, 205, 128)
HSLhsl(56, 48%, 66%)
HSVhsv(56, 39%, 82%)
CMYKcmyk(0%, 2.4%, 39%, 17.6%)
CIE-LABlab(81.25, -9.44, 38.94)
CIE-LCHlch(81.25, 40.07, 103.63°)
OKLaboklab(83.51% -0.0257 0.0951)
OKLCHoklch(83.51% 0.098 105.1)
XYZxyz(52.3068, 58.9240, 29.0360)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD80 #8085D2
analogous
#D2A480 #D2CD80 #AED280
triadic
#D2CD80 #80D2CD #CD80D2
tetradic
#D2CD80 #80D2A4 #8085D2 #D280AE
square
#D2CD80 #80D2A4 #8085D2 #D280AE
split-complementary
#D2CD80 #80AED2 #A480D2
monochromatic
#9F9938 #C2BB53 #D2CD80 #E2DFAD #F2F1DA

Accessibility & contrast

On white

1.64
#D2CD80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D2CD80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD80
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD80#FFFFFF#000000##000000
##D2CD801.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C87A
Deuteranopia (green-blind)
#DCCC83
Tritanopia (blue-blind)
#DDC4BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd80;
/* rgb */ color: rgb(210, 205, 128);
/* oklch */ color: oklch(83.5% 0.098 105.1);
Tailwind
colors: {
  custom: {
    50: '#e1dca6',
    500: '#d2cd80',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd80;
$custom-light: #e1dca6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd80",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 128
  },
  "hsl": {
    "h": 56.341,
    "s": 47.674,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83506,
    "c": 0.09848,
    "h": 105.1
  },
  "luminance": 0.58923
}

Semantic roles & 50–950 ramp

primary
#D2CD80
secondary
#5257A4
accent
#33BB2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD80

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

Preview Lab → · Contrast checker → · Palette generator →

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