#D6CC8A#D6CC8A

#D6CC8A is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.8% C 0.086 H 100.7°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D6CC8A
RGBrgb(214, 204, 138)
HSLhsl(52, 48%, 69%)
HSVhsv(52, 36%, 84%)
CMYKcmyk(0%, 4.7%, 35.5%, 16.1%)
CIE-LABlab(81.47, -6.22, 34.18)
CIE-LCHlch(81.47, 34.74, 100.31°)
OKLaboklab(83.81% -0.0159 0.0845)
OKLCHoklch(83.81% 0.086 100.7)
XYZxyz(53.9126, 59.3182, 32.6494)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC8A #8A94D6
analogous
#D6A68A #D6CC8A #BAD68A
triadic
#D6CC8A #8AD6CC #CC8AD6
tetradic
#D6CC8A #8AD6A6 #8A94D6 #D68ABA
square
#D6CC8A #8AD6A6 #8A94D6 #D68ABA
split-complementary
#D6CC8A #8ABAD6 #A68AD6
monochromatic
#AA9B3C #C6B85D #D6CC8A #E6E0B7 #F6F4E5

Accessibility & contrast

On white

1.63
#D6CC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#D6CC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC8A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC8A#FFFFFF#000000##000000
##D6CC8A1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C885
Deuteranopia (green-blind)
#DBCC8C
Tritanopia (blue-blind)
#E1C3BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d6cc8a;
/* rgb */ color: rgb(214, 204, 138);
/* oklch */ color: oklch(83.8% 0.086 100.7);
Tailwind
colors: {
  custom: {
    50: '#e3dbad',
    500: '#d6cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc8a;
$custom-light: #e3dbad;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc8a",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 52.105,
    "s": 48.101,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83806,
    "c": 0.08597,
    "h": 100.7
  },
  "luminance": 0.59317
}

Semantic roles & 50–950 ramp

primary
#D6CC8A
secondary
#5863AC
accent
#3DBB2A
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D6CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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