#D3CD7B#D3CD7B

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

Color values

HEX#D3CD7B
RGBrgb(211, 205, 123)
HSLhsl(56, 50%, 65%)
HSVhsv(56, 42%, 83%)
CMYKcmyk(0%, 2.8%, 41.7%, 17.3%)
CIE-LABlab(81.26, -9.58, 41.49)
CIE-LCHlch(81.26, 42.58, 103.00°)
OKLaboklab(83.51% -0.0265 0.1006)
OKLCHoklch(83.51% 0.104 104.8)
XYZxyz(52.2714, 58.9429, 27.3586)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD7B #7B81D3
analogous
#D3A17B #D3CD7B #ADD37B
triadic
#D3CD7B #7BD3CD #CD7BD3
tetradic
#D3CD7B #7BD3A1 #7B81D3 #D37BAD
square
#D3CD7B #7BD3A1 #7B81D3 #D37BAD
split-complementary
#D3CD7B #7BADD3 #A17BD3
monochromatic
#9F9735 #C4BC4D #D3CD7B #E2DEA9 #F2F0D7

Accessibility & contrast

On white

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

On black

12.79
#D3CD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD7B
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD7B#FFFFFF#000000##000000
##D3CD7B1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC775
Deuteranopia (green-blind)
#DDCC7E
Tritanopia (blue-blind)
#DFC3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cd7b;
/* rgb */ color: rgb(211, 205, 123);
/* oklch */ color: oklch(83.5% 0.104 104.8);
Tailwind
colors: {
  custom: {
    50: '#e2dca2',
    500: '#d3cd7b',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd7b;
$custom-light: #e2dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd7b",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 123
  },
  "hsl": {
    "h": 55.909,
    "s": 50,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83511,
    "c": 0.10401,
    "h": 104.8
  },
  "luminance": 0.58942
}

Semantic roles & 50–950 ramp

primary
#D3CD7B
secondary
#4F54A3
accent
#32BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D3CD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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