#D4CD97#D4CD97

#D4CD97 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.071 H 101.6°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D4CD97
RGBrgb(212, 205, 151)
HSLhsl(53, 41%, 71%)
HSVhsv(53, 29%, 83%)
CMYKcmyk(0%, 3.3%, 28.8%, 16.9%)
CIE-LABlab(81.78, -5.91, 27.83)
CIE-LCHlch(81.78, 28.45, 101.98°)
OKLaboklab(84.09% -0.0143 0.0699)
OKLCHoklch(84.09% 0.071 101.6)
XYZxyz(54.5689, 59.8952, 37.9585)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD97 #979ED4
analogous
#D4AE97 #D4CD97 #BCD497
triadic
#D4CD97 #97D4CD #CD97D4
tetradic
#D4CD97 #97D4AE #979ED4 #D497BC
square
#D4CD97 #97D4AE #979ED4 #D497BC
split-complementary
#D4CD97 #97BCD4 #AE97D4
monochromatic
#AA9F46 #C2B86C #D4CD97 #E6E2C2 #F6F5E9

Accessibility & contrast

On white

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

On black

12.98
#D4CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD97
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD97#FFFFFF#000000##000000
##D4CD971.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cd97;
/* rgb */ color: rgb(212, 205, 151);
/* oklch */ color: oklch(84.1% 0.071 101.6);
Tailwind
colors: {
  custom: {
    50: '#e2dcb6',
    500: '#d4cd97',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd97;
$custom-light: #e2dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd97",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 53.115,
    "s": 41.497,
    "l": 71.176
  },
  "oklch": {
    "l": 0.84087,
    "c": 0.07134,
    "h": 101.6
  },
  "luminance": 0.59894
}

Semantic roles & 50–950 ramp

primary
#D4CD97
secondary
#656DAA
accent
#40B531
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D4CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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