#D5CD71#D5CD71

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

Color values

HEX#D5CD71
RGBrgb(213, 205, 113)
HSLhsl(55, 54%, 64%)
HSVhsv(55, 47%, 84%)
CMYKcmyk(0%, 3.8%, 46.9%, 16.5%)
CIE-LABlab(81.29, -9.76, 46.51)
CIE-LCHlch(81.29, 47.52, 101.86°)
OKLaboklab(83.53% -0.0281 0.1111)
OKLCHoklch(83.53% 0.115 104.2)
XYZxyz(52.2538, 59.0026, 24.2557)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD71 #7179D5
analogous
#D59B71 #D5CD71 #ABD571
triadic
#D5CD71 #71D5CD #CD71D5
tetradic
#D5CD71 #71D59B #7179D5 #D571AB
square
#D5CD71 #71D59B #7179D5 #D571AB
split-complementary
#D5CD71 #71ABD5 #9B71D5
monochromatic
#9D942E #C7BC42 #D5CD71 #E3DEA0 #F1EECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD71#FFFFFF#000000##000000
##D5CD711.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)
#DBC769
Deuteranopia (green-blind)
#DECC75
Tritanopia (blue-blind)
#E2C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd71;
/* rgb */ color: rgb(213, 205, 113);
/* oklch */ color: oklch(83.5% 0.115 104.2);
Tailwind
colors: {
  custom: {
    50: '#e4dc9c',
    500: '#d5cd71',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd71;
$custom-light: #e4dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd71",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 55.2,
    "s": 54.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83534,
    "c": 0.1146,
    "h": 104.2
  },
  "luminance": 0.59001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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