#D4CC8A#D4CC8A

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

Color values

HEX#D4CC8A
RGBrgb(212, 204, 138)
HSLhsl(54, 46%, 69%)
HSVhsv(54, 35%, 83%)
CMYKcmyk(0%, 3.8%, 34.9%, 16.9%)
CIE-LABlab(81.30, -7.00, 33.93)
CIE-LCHlch(81.30, 34.65, 101.66°)
OKLaboklab(83.64% -0.0181 0.0839)
OKLCHoklch(83.64% 0.086 102.2)
XYZxyz(53.3324, 59.0190, 32.6222)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC8A #8A92D4
analogous
#D4A78A #D4CC8A #B7D48A
triadic
#D4CC8A #8AD4CC #CC8AD4
tetradic
#D4CC8A #8AD4A7 #8A92D4 #D48AB7
square
#D4CC8A #8AD4A7 #8A92D4 #D48AB7
split-complementary
#D4CC8A #8AB7D4 #A78AD4
monochromatic
#A69B3D #C4B85D #D4CC8A #E4E0B7 #F5F3E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CC8A#FFFFFF#000000##000000
##D4CC8A1.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)
#D8C885
Deuteranopia (green-blind)
#DACC8D
Tritanopia (blue-blind)
#DFC3BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cc8a;
/* rgb */ color: rgb(212, 204, 138);
/* oklch */ color: oklch(83.6% 0.086 102.2);
Tailwind
colors: {
  custom: {
    50: '#e2dbad',
    500: '#d4cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc8a;
$custom-light: #e2dbad;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc8a",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 53.514,
    "s": 46.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83637,
    "c": 0.08586,
    "h": 102.2
  },
  "luminance": 0.59018
}

Semantic roles & 50–950 ramp

primary
#D4CC8A
secondary
#5861AA
accent
#3BB92C
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D4CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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