#D5CC7E#D5CC7E

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

Color values

HEX#D5CC7E
RGBrgb(213, 204, 126)
HSLhsl(54, 51%, 66%)
HSVhsv(54, 41%, 84%)
CMYKcmyk(0%, 4.2%, 40.8%, 16.5%)
CIE-LABlab(81.20, -7.95, 39.94)
CIE-LCHlch(81.20, 40.73, 101.26°)
OKLaboklab(83.52% -0.0217 0.0972)
OKLCHoklch(83.52% 0.1 102.6)
XYZxyz(52.8003, 58.8397, 28.3104)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC7E #7E87D5
analogous
#D5A17E #D5CC7E #B3D57E
triadic
#D5CC7E #7ED5CC #CC7ED5
tetradic
#D5CC7E #7ED5A1 #7E87D5 #D57EB3
square
#D5CC7E #7ED5A1 #7E87D5 #D57EB3
split-complementary
#D5CC7E #7EB3D5 #A17ED5
monochromatic
#A39835 #C6BA50 #D5CC7E #E4DEAC #F3F1DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CC7E#FFFFFF#000000##000000
##D5CC7E1.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)
#D9C778
Deuteranopia (green-blind)
#DCCC81
Tritanopia (blue-blind)
#E1C2B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cc7e;
/* rgb */ color: rgb(213, 204, 126);
/* oklch */ color: oklch(83.5% 0.100 102.6);
Tailwind
colors: {
  custom: {
    50: '#e3dba4',
    500: '#d5cc7e',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc7e;
$custom-light: #e3dba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc7e",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 53.793,
    "s": 50.877,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83519,
    "c": 0.09961,
    "h": 102.6
  },
  "luminance": 0.58838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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