#D5CD73#D5CD73

#D5CD73 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.113 H 104.1°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D5CD73
RGBrgb(213, 205, 115)
HSLhsl(55, 54%, 64%)
HSVhsv(55, 46%, 84%)
CMYKcmyk(0%, 3.8%, 46%, 16.5%)
CIE-LABlab(81.32, -9.57, 45.56)
CIE-LCHlch(81.32, 46.55, 101.87°)
OKLaboklab(83.56% -0.0273 0.1092)
OKLCHoklch(83.56% 0.113 104.1)
XYZxyz(52.3676, 59.0481, 24.8552)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD73 #737BD5
analogous
#D59C73 #D5CD73 #ACD573
triadic
#D5CD73 #73D5CD #CD73D5
tetradic
#D5CD73 #73D59C #737BD5 #D573AC
square
#D5CD73 #73D59C #737BD5 #D573AC
split-complementary
#D5CD73 #73ACD5 #9C73D5
monochromatic
#9E952F #C7BC44 #D5CD73 #E3DEA2 #F1EFD1

Accessibility & contrast

On white

1.64
#D5CD73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D5CD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD73
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD73#FFFFFF#000000##000000
##D5CD731.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76B
Deuteranopia (green-blind)
#DECC77
Tritanopia (blue-blind)
#E2C2B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd73;
/* rgb */ color: rgb(213, 205, 115);
/* oklch */ color: oklch(83.6% 0.113 104.1);
Tailwind
colors: {
  custom: {
    50: '#e4dc9d',
    500: '#d5cd73',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd73;
$custom-light: #e4dc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd73",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 55.102,
    "s": 53.846,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83562,
    "c": 0.11253,
    "h": 104.1
  },
  "luminance": 0.59047
}

Semantic roles & 50–950 ramp

primary
#D5CD73
secondary
#4A51A3
accent
#31C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CD73

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

Preview Lab → · Contrast checker → · Palette generator →

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