#D5CD80#D5CD80

#D5CD80 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.098 H 103.2°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D5CD80
RGBrgb(213, 205, 128)
HSLhsl(54, 50%, 67%)
HSVhsv(54, 40%, 84%)
CMYKcmyk(0%, 3.8%, 39.9%, 16.5%)
CIE-LABlab(81.49, -8.25, 39.30)
CIE-LCHlch(81.49, 40.16, 101.86°)
OKLaboklab(83.76% -0.0224 0.0959)
OKLCHoklch(83.76% 0.098 103.2)
XYZxyz(53.1691, 59.3687, 29.0764)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD80 #8088D5
analogous
#D5A380 #D5CD80 #B3D580
triadic
#D5CD80 #80D5CD #CD80D5
tetradic
#D5CD80 #80D5A3 #8088D5 #D580B3
square
#D5CD80 #80D5A3 #8088D5 #D580B3
split-complementary
#D5CD80 #80B3D5 #A380D5
monochromatic
#A49A36 #C6BB52 #D5CD80 #E4DFAE #F3F1DC

Accessibility & contrast

On white

1.63
#D5CD80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#D5CD80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD80
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD80#FFFFFF#000000##000000
##D5CD801.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC87A
Deuteranopia (green-blind)
#DDCD83
Tritanopia (blue-blind)
#E1C3BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd80;
/* rgb */ color: rgb(213, 205, 128);
/* oklch */ color: oklch(83.8% 0.098 103.2);
Tailwind
colors: {
  custom: {
    50: '#e3dca6',
    500: '#d5cd80',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd80;
$custom-light: #e3dca6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd80",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 128
  },
  "hsl": {
    "h": 54.353,
    "s": 50.296,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83759,
    "c": 0.09845,
    "h": 103.2
  },
  "luminance": 0.59367
}

Semantic roles & 50–950 ramp

primary
#D5CD80
secondary
#5159A8
accent
#36BE28
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CD80

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

Preview Lab → · Contrast checker → · Palette generator →

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