#D1CD80#D1CD80

#D1CD80 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.099 H 105.8°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D1CD80
RGBrgb(209, 205, 128)
HSLhsl(57, 47%, 66%)
HSVhsv(57, 39%, 82%)
CMYKcmyk(0%, 1.9%, 38.8%, 18%)
CIE-LABlab(81.17, -9.83, 38.82)
CIE-LCHlch(81.17, 40.05, 104.22°)
OKLaboklab(83.42% -0.0268 0.0948)
OKLCHoklch(83.42% 0.099 105.8)
XYZxyz(52.0229, 58.7777, 29.0227)
Luminance0.5878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD80 #8084D1
analogous
#D1A480 #D1CD80 #ACD180
triadic
#D1CD80 #80D1CD #CD80D1
tetradic
#D1CD80 #80D1A4 #8084D1 #D180AC
square
#D1CD80 #80D1A4 #8084D1 #D180AC
split-complementary
#D1CD80 #80ACD1 #A480D1
monochromatic
#9E9939 #C1BB53 #D1CD80 #E1DFAD #F2F0DA

Accessibility & contrast

On white

1.65
#D1CD80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#D1CD80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD80
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD80#FFFFFF#000000##000000
##D1CD801.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1cd80;
/* rgb */ color: rgb(209, 205, 128);
/* oklch */ color: oklch(83.4% 0.099 105.8);
Tailwind
colors: {
  custom: {
    50: '#e0dca6',
    500: '#d1cd80',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd80;
$custom-light: #e0dca6;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd80",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 128
  },
  "hsl": {
    "h": 57.037,
    "s": 46.821,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83423,
    "c": 0.09851,
    "h": 105.8
  },
  "luminance": 0.58776
}

Semantic roles & 50–950 ramp

primary
#D1CD80
secondary
#5256A3
accent
#32BA2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D1CD80

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

Preview Lab → · Contrast checker → · Palette generator →

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