#D5CD7E#D5CD7E

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

Color values

HEX#D5CD7E
RGBrgb(213, 205, 126)
HSLhsl(54, 51%, 66%)
HSVhsv(54, 41%, 84%)
CMYKcmyk(0%, 3.8%, 40.8%, 16.5%)
CIE-LABlab(81.47, -8.46, 40.27)
CIE-LCHlch(81.47, 41.15, 101.87°)
OKLaboklab(83.73% -0.0232 0.098)
OKLCHoklch(83.73% 0.101 103.3)
XYZxyz(53.0388, 59.3165, 28.3899)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD7E #7E86D5
analogous
#D5A27E #D5CD7E #B2D57E
triadic
#D5CD7E #7ED5CD #CD7ED5
tetradic
#D5CD7E #7ED5A2 #7E86D5 #D57EB2
square
#D5CD7E #7ED5A2 #7E86D5 #D57EB2
split-complementary
#D5CD7E #7EB2D5 #A27ED5
monochromatic
#A39935 #C6BB50 #D5CD7E #E4DFAC #F3F1DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD7E#FFFFFF#000000##000000
##D5CD7E1.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)
#DAC878
Deuteranopia (green-blind)
#DDCC81
Tritanopia (blue-blind)
#E1C3BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd7e;
/* rgb */ color: rgb(213, 205, 126);
/* oklch */ color: oklch(83.7% 0.101 103.3);
Tailwind
colors: {
  custom: {
    50: '#e3dca4',
    500: '#d5cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd7e;
$custom-light: #e3dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd7e",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 54.483,
    "s": 50.877,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83727,
    "c": 0.10067,
    "h": 103.3
  },
  "luminance": 0.59315
}

Semantic roles & 50–950 ramp

primary
#D5CD7E
secondary
#5058A8
accent
#35BE27
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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