#D5CD8B#D5CD8B

#D5CD8B is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.9% C 0.086 H 102.1°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D5CD8B
RGBrgb(213, 205, 139)
HSLhsl(54, 47%, 69%)
HSVhsv(54, 35%, 84%)
CMYKcmyk(0%, 3.8%, 34.7%, 16.5%)
CIE-LABlab(81.66, -7.01, 33.90)
CIE-LCHlch(81.66, 34.62, 101.68°)
OKLaboklab(83.95% -0.0181 0.0839)
OKLCHoklch(83.95% 0.086 102.1)
XYZxyz(53.9328, 59.6741, 33.0983)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD8B #8B93D5
analogous
#D5A88B #D5CD8B #B8D58B
triadic
#D5CD8B #8BD5CD #CD8BD5
tetradic
#D5CD8B #8BD5A8 #8B93D5 #D58BB8
square
#D5CD8B #8BD5A8 #8B93D5 #D58BB8
split-complementary
#D5CD8B #8BB8D5 #A88BD5
monochromatic
#A99D3D #C5BA5E #D5CD8B #E5E0B8 #F6F4E5

Accessibility & contrast

On white

1.62
#D5CD8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#D5CD8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD8B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD8B#FFFFFF#000000##000000
##D5CD8B1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C986
Deuteranopia (green-blind)
#DBCD8E
Tritanopia (blue-blind)
#E0C4BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cd8b;
/* rgb */ color: rgb(213, 205, 139);
/* oklch */ color: oklch(83.9% 0.086 102.1);
Tailwind
colors: {
  custom: {
    50: '#e3dcad',
    500: '#d5cd8b',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd8b;
$custom-light: #e3dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd8b",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 139
  },
  "hsl": {
    "h": 53.514,
    "s": 46.835,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83946,
    "c": 0.08581,
    "h": 102.1
  },
  "luminance": 0.59673
}

Semantic roles & 50–950 ramp

primary
#D5CD8B
secondary
#5962AB
accent
#3BBA2B
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D5CD8B

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

Preview Lab → · Contrast checker → · Palette generator →

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