#D5CD7D#D5CD7D

#D5CD7D is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.102 H 103.4°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D5CD7D
RGBrgb(213, 205, 125)
HSLhsl(55, 51%, 66%)
HSVhsv(55, 41%, 84%)
CMYKcmyk(0%, 3.8%, 41.3%, 16.5%)
CIE-LABlab(81.45, -8.57, 40.76)
CIE-LCHlch(81.45, 41.65, 101.88°)
OKLaboklab(83.71% -0.0236 0.099)
OKLCHoklch(83.71% 0.102 103.4)
XYZxyz(52.9746, 59.2909, 28.0518)
Luminance0.5929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD7D #7D85D5
analogous
#D5A17D #D5CD7D #B1D57D
triadic
#D5CD7D #7DD5CD #CD7DD5
tetradic
#D5CD7D #7DD5A1 #7D85D5 #D57DB1
square
#D5CD7D #7DD5A1 #7D85D5 #D57DB1
split-complementary
#D5CD7D #7DB1D5 #A17DD5
monochromatic
#A39935 #C6BB4F #D5CD7D #E4DFAB #F3F1DA

Accessibility & contrast

On white

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

On black

12.86
#D5CD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD7D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD7D#FFFFFF#000000##000000
##D5CD7D1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC877
Deuteranopia (green-blind)
#DDCC80
Tritanopia (blue-blind)
#E1C3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd7d;
/* rgb */ color: rgb(213, 205, 125);
/* oklch */ color: oklch(83.7% 0.102 103.4);
Tailwind
colors: {
  custom: {
    50: '#e3dca4',
    500: '#d5cd7d',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd7d;
$custom-light: #e3dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd7d",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 54.545,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83711,
    "c": 0.10179,
    "h": 103.4
  },
  "luminance": 0.59289
}

Semantic roles & 50–950 ramp

primary
#D5CD7D
secondary
#4F57A7
accent
#35BF27
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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