#D3CD97#D3CD97

#D3CD97 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.071 H 102.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D3CD97
RGBrgb(211, 205, 151)
HSLhsl(54, 41%, 71%)
HSVhsv(54, 28%, 83%)
CMYKcmyk(0%, 2.8%, 28.4%, 17.3%)
CIE-LABlab(81.70, -6.29, 27.71)
CIE-LCHlch(81.70, 28.41, 102.79°)
OKLaboklab(84% -0.0154 0.0696)
OKLCHoklch(84% 0.071 102.5)
XYZxyz(54.2815, 59.7469, 37.9450)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD97 #979DD3
analogous
#D3AF97 #D3CD97 #BBD397
triadic
#D3CD97 #97D3CD #CD97D3
tetradic
#D3CD97 #97D3AF #979DD3 #D397BB
square
#D3CD97 #97D3AF #979DD3 #D397BB
split-complementary
#D3CD97 #97BBD3 #AF97D3
monochromatic
#A89F47 #C1B86C #D3CD97 #E5E2C2 #F6F5E9

Accessibility & contrast

On white

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

On black

12.95
#D3CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD97
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD97#FFFFFF#000000##000000
##D3CD971.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3cd97;
/* rgb */ color: rgb(211, 205, 151);
/* oklch */ color: oklch(84.0% 0.071 102.5);
Tailwind
colors: {
  custom: {
    50: '#e1dcb6',
    500: '#d3cd97',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd97;
$custom-light: #e1dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd97",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 54,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.84004,
    "c": 0.07128,
    "h": 102.5
  },
  "luminance": 0.59746
}

Semantic roles & 50–950 ramp

primary
#D3CD97
secondary
#656CA9
accent
#3FB432
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D3CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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