#D3CC8A#D3CC8A

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

Color values

HEX#D3CC8A
RGBrgb(211, 204, 138)
HSLhsl(54, 45%, 68%)
HSVhsv(54, 35%, 83%)
CMYKcmyk(0%, 3.3%, 34.6%, 17.3%)
CIE-LABlab(81.22, -7.39, 33.81)
CIE-LCHlch(81.22, 34.61, 102.34°)
OKLaboklab(83.55% -0.0192 0.0837)
OKLCHoklch(83.55% 0.086 102.9)
XYZxyz(53.0449, 58.8708, 32.6087)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC8A #8A91D3
analogous
#D3A78A #D3CC8A #B5D38A
triadic
#D3CC8A #8AD3CC #CC8AD3
tetradic
#D3CC8A #8AD3A7 #8A91D3 #D38AB5
square
#D3CC8A #8AD3A7 #8A91D3 #D38AB5
split-complementary
#D3CC8A #8AB5D3 #A78AD3
monochromatic
#A59B3E #C2B95E #D3CC8A #E4DFB6 #F4F3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CC8A#FFFFFF#000000##000000
##D3CC8A1.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)
#D7C885
Deuteranopia (green-blind)
#DACC8D
Tritanopia (blue-blind)
#DDC3BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cc8a;
/* rgb */ color: rgb(211, 204, 138);
/* oklch */ color: oklch(83.6% 0.086 102.9);
Tailwind
colors: {
  custom: {
    50: '#e1dbad',
    500: '#d3cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc8a;
$custom-light: #e1dbad;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc8a",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 54.247,
    "s": 45.342,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83552,
    "c": 0.08582,
    "h": 102.9
  },
  "luminance": 0.5887
}

Semantic roles & 50–950 ramp

primary
#D3CC8A
secondary
#5860A9
accent
#3AB92D
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D3CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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