#D5CD72#D5CD72

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

Color values

HEX#D5CD72
RGBrgb(213, 205, 114)
HSLhsl(55, 54%, 64%)
HSVhsv(55, 46%, 84%)
CMYKcmyk(0%, 3.8%, 46.5%, 16.5%)
CIE-LABlab(81.31, -9.67, 46.03)
CIE-LCHlch(81.31, 47.04, 101.86°)
OKLaboklab(83.55% -0.0277 0.1101)
OKLCHoklch(83.55% 0.114 104.1)
XYZxyz(52.3104, 59.0252, 24.5538)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD72 #727AD5
analogous
#D59C72 #D5CD72 #ABD572
triadic
#D5CD72 #72D5CD #CD72D5
tetradic
#D5CD72 #72D59C #727AD5 #D572AB
square
#D5CD72 #72D59C #727AD5 #D572AB
split-complementary
#D5CD72 #72ABD5 #9C72D5
monochromatic
#9E952F #C7BC43 #D5CD72 #E3DEA1 #F1EED0

Accessibility & contrast

On white

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

On black

12.80
#D5CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD72
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD72#FFFFFF#000000##000000
##D5CD721.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76A
Deuteranopia (green-blind)
#DECC76
Tritanopia (blue-blind)
#E2C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd72;
/* rgb */ color: rgb(213, 205, 114);
/* oklch */ color: oklch(83.5% 0.114 104.1);
Tailwind
colors: {
  custom: {
    50: '#e4dc9c',
    500: '#d5cd72',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd72;
$custom-light: #e4dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd72",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 55.152,
    "s": 54.098,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83548,
    "c": 0.11357,
    "h": 104.1
  },
  "luminance": 0.59024
}

Semantic roles & 50–950 ramp

primary
#D5CD72
secondary
#4950A2
accent
#31C224
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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