#D4CD99#D4CD99

#D4CD99 is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.1% C 0.069 H 101.3°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D4CD99
RGBrgb(212, 205, 153)
HSLhsl(53, 41%, 72%)
HSVhsv(53, 28%, 83%)
CMYKcmyk(0%, 3.3%, 27.8%, 16.9%)
CIE-LABlab(81.82, -5.64, 26.83)
CIE-LCHlch(81.82, 27.42, 101.88°)
OKLaboklab(84.13% -0.0135 0.0675)
OKLCHoklch(84.13% 0.069 101.3)
XYZxyz(54.7327, 59.9607, 38.8211)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD99 #99A0D4
analogous
#D4B099 #D4CD99 #BED499
triadic
#D4CD99 #99D4CD #CD99D4
tetradic
#D4CD99 #99D4B0 #99A0D4 #D499BE
square
#D4CD99 #99D4B0 #99A0D4 #D499BE
split-complementary
#D4CD99 #99BED4 #B099D4
monochromatic
#AB9F48 #C2B86E #D4CD99 #E6E2C4 #F6F4E9

Accessibility & contrast

On white

1.62
#D4CD99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#D4CD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD99
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD99#FFFFFF#000000##000000
##D4CD991.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C996
Deuteranopia (green-blind)
#D9CD9B
Tritanopia (blue-blind)
#DDC6BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4cd99;
/* rgb */ color: rgb(212, 205, 153);
/* oklch */ color: oklch(84.1% 0.069 101.3);
Tailwind
colors: {
  custom: {
    50: '#e2dcb7',
    500: '#d4cd99',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd99;
$custom-light: #e2dcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd99",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 52.881,
    "s": 40.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.84127,
    "c": 0.06887,
    "h": 101.3
  },
  "luminance": 0.5996
}

Semantic roles & 50–950 ramp

primary
#D4CD99
secondary
#676FAA
accent
#41B432
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D4CD99

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

Preview Lab → · Contrast checker → · Palette generator →

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