#D3CA97#D3CA97

#D3CA97 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.068 H 99.3°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D3CA97
RGBrgb(211, 202, 151)
HSLhsl(51, 41%, 71%)
HSVhsv(51, 28%, 83%)
CMYKcmyk(0%, 4.3%, 28.4%, 17.3%)
CIE-LABlab(80.92, -4.74, 26.65)
CIE-LCHlch(80.92, 27.07, 100.09°)
OKLaboklab(83.39% -0.0109 0.0671)
OKLCHoklch(83.39% 0.068 99.3)
XYZxyz(53.5707, 58.3255, 37.7081)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA97 #97A0D3
analogous
#D3AC97 #D3CA97 #BED397
triadic
#D3CA97 #97D3CA #CA97D3
tetradic
#D3CA97 #97D3AC #97A0D3 #D397BE
square
#D3CA97 #97D3AC #97A0D3 #D397BE
split-complementary
#D3CA97 #97BED3 #AC97D3
monochromatic
#A89A47 #C1B46C #D3CA97 #E5E0C2 #F6F4E9

Accessibility & contrast

On white

1.66
#D3CA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#D3CA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA97
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA97#FFFFFF#000000##000000
##D3CA971.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C794
Deuteranopia (green-blind)
#D7CB99
Tritanopia (blue-blind)
#DCC3BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3ca97;
/* rgb */ color: rgb(211, 202, 151);
/* oklch */ color: oklch(83.4% 0.068 99.3);
Tailwind
colors: {
  custom: {
    50: '#e1dab6',
    500: '#d3ca97',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca97;
$custom-light: #e1dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca97",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 151
  },
  "hsl": {
    "h": 51,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.83386,
    "c": 0.06797,
    "h": 99.3
  },
  "luminance": 0.58324
}

Semantic roles & 50–950 ramp

primary
#D3CA97
secondary
#656FA9
accent
#45B432
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D3CA97

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

Preview Lab → · Contrast checker → · Palette generator →

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