#D3CD7E#D3CD7E

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

Color values

HEX#D3CD7E
RGBrgb(211, 205, 126)
HSLhsl(56, 49%, 66%)
HSVhsv(56, 40%, 83%)
CMYKcmyk(0%, 2.8%, 40.3%, 17.3%)
CIE-LABlab(81.30, -9.26, 40.03)
CIE-LCHlch(81.30, 41.09, 103.02°)
OKLaboklab(83.56% -0.0254 0.0975)
OKLCHoklch(83.56% 0.101 104.6)
XYZxyz(52.4621, 59.0192, 28.3629)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD7E #7E84D3
analogous
#D3A27E #D3CD7E #AED37E
triadic
#D3CD7E #7ED3CD #CD7ED3
tetradic
#D3CD7E #7ED3A2 #7E84D3 #D37EAE
square
#D3CD7E #7ED3A2 #7E84D3 #D37EAE
split-complementary
#D3CD7E #7EAED3 #A27ED3
monochromatic
#A09937 #C3BB50 #D3CD7E #E3DFAC #F2F0D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CD7E#FFFFFF#000000##000000
##D3CD7E1.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)
#DAC878
Deuteranopia (green-blind)
#DCCC81
Tritanopia (blue-blind)
#DEC3BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cd7e;
/* rgb */ color: rgb(211, 205, 126);
/* oklch */ color: oklch(83.6% 0.101 104.6);
Tailwind
colors: {
  custom: {
    50: '#e2dca4',
    500: '#d3cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd7e;
$custom-light: #e2dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd7e",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 55.765,
    "s": 49.133,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83558,
    "c": 0.1007,
    "h": 104.6
  },
  "luminance": 0.59018
}

Semantic roles & 50–950 ramp

primary
#D3CD7E
secondary
#5056A5
accent
#33BC29
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D3CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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