#D5CC7F#D5CC7F

#D5CC7F is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.099 H 102.5°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D5CC7F
RGBrgb(213, 204, 127)
HSLhsl(54, 51%, 67%)
HSVhsv(54, 40%, 84%)
CMYKcmyk(0%, 4.2%, 40.4%, 16.5%)
CIE-LABlab(81.22, -7.85, 39.45)
CIE-LCHlch(81.22, 40.23, 101.25°)
OKLaboklab(83.54% -0.0213 0.0962)
OKLCHoklch(83.54% 0.099 102.5)
XYZxyz(52.8652, 58.8656, 28.6520)
Luminance0.5886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC7F #7F88D5
analogous
#D5A17F #D5CC7F #B3D57F
triadic
#D5CC7F #7FD5CC #CC7FD5
tetradic
#D5CC7F #7FD5A1 #7F88D5 #D57FB3
square
#D5CC7F #7FD5A1 #7F88D5 #D57FB3
split-complementary
#D5CC7F #7FB3D5 #A17FD5
monochromatic
#A49836 #C6BA51 #D5CC7F #E4DEAD #F3F1DB

Accessibility & contrast

On white

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

On black

12.77
#D5CC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC7F
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC7F#FFFFFF#000000##000000
##D5CC7F1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C779
Deuteranopia (green-blind)
#DCCC82
Tritanopia (blue-blind)
#E1C2B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cc7f;
/* rgb */ color: rgb(213, 204, 127);
/* oklch */ color: oklch(83.5% 0.099 102.5);
Tailwind
colors: {
  custom: {
    50: '#e3dba5',
    500: '#d5cc7f',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc7f;
$custom-light: #e3dba5;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc7f",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 127
  },
  "hsl": {
    "h": 53.721,
    "s": 50.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83535,
    "c": 0.0985,
    "h": 102.5
  },
  "luminance": 0.58864
}

Semantic roles & 50–950 ramp

primary
#D5CC7F
secondary
#5059A8
accent
#37BE28
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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