#D5C985#D5C985

#D5C985 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.089 H 99.4°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D5C985
RGBrgb(213, 201, 133)
HSLhsl(51, 49%, 68%)
HSVhsv(51, 38%, 84%)
CMYKcmyk(0%, 5.6%, 37.6%, 16.5%)
CIE-LABlab(80.52, -5.65, 35.51)
CIE-LCHlch(80.52, 35.95, 99.03°)
OKLaboklab(83.02% -0.0145 0.0874)
OKLCHoklch(83.02% 0.089 99.4)
XYZxyz(52.5617, 57.6144, 30.5376)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C985 #8591D5
analogous
#D5A185 #D5C985 #B9D585
triadic
#D5C985 #85D5C9 #C985D5
tetradic
#D5C985 #85D5A1 #8591D5 #D585B9
square
#D5C985 #85D5A1 #8591D5 #D585B9
split-complementary
#D5C985 #85B9D5 #A185D5
monochromatic
#A69639 #C5B557 #D5C985 #E5DDB3 #F4F1E0

Accessibility & contrast

On white

1.68
#D5C985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#D5C985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C985
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C985#FFFFFF#000000##000000
##D5C9851.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C580
Deuteranopia (green-blind)
#D9CA88
Tritanopia (blue-blind)
#E0C0B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5c985;
/* rgb */ color: rgb(213, 201, 133);
/* oklch */ color: oklch(83.0% 0.089 99.4);
Tailwind
colors: {
  custom: {
    50: '#e3d9a9',
    500: '#d5c985',
    950: '#000000',
  },
}
SCSS
$custom: #d5c985;
$custom-light: #e3d9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c985",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 133
  },
  "hsl": {
    "h": 51,
    "s": 48.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83015,
    "c": 0.08859,
    "h": 99.4
  },
  "luminance": 0.57613
}

Semantic roles & 50–950 ramp

primary
#D5C985
secondary
#5461AA
accent
#3FBC29
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#161410
muted
#848380

Preview Lab

Preview with #D5C985

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

Preview Lab → · Contrast checker → · Palette generator →

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