#D3CD98#D3CD98

#D3CD98 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.070 H 102.3°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D3CD98
RGBrgb(211, 205, 152)
HSLhsl(54, 40%, 71%)
HSVhsv(54, 28%, 83%)
CMYKcmyk(0%, 2.8%, 28%, 17.3%)
CIE-LABlab(81.72, -6.16, 27.21)
CIE-LCHlch(81.72, 27.90, 102.75°)
OKLaboklab(84.02% -0.015 0.0684)
OKLCHoklch(84.02% 0.07 102.3)
XYZxyz(54.3630, 59.7796, 38.3745)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD98 #989ED3
analogous
#D3AF98 #D3CD98 #BBD398
triadic
#D3CD98 #98D3CD #CD98D3
tetradic
#D3CD98 #98D3AF #989ED3 #D398BB
square
#D3CD98 #98D3AF #989ED3 #D398BB
split-complementary
#D3CD98 #98BBD3 #AF98D3
monochromatic
#A99F48 #C1B86D #D3CD98 #E5E2C3 #F6F5EA

Accessibility & contrast

On white

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

On black

12.96
#D3CD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD98
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD98#FFFFFF#000000##000000
##D3CD981.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3cd98;
/* rgb */ color: rgb(211, 205, 152);
/* oklch */ color: oklch(84.0% 0.070 102.3);
Tailwind
colors: {
  custom: {
    50: '#e1dcb6',
    500: '#d3cd98',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd98;
$custom-light: #e1dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd98",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 53.898,
    "s": 40.136,
    "l": 71.176
  },
  "oklch": {
    "l": 0.84024,
    "c": 0.07004,
    "h": 102.3
  },
  "luminance": 0.59779
}

Semantic roles & 50–950 ramp

primary
#D3CD98
secondary
#666DA9
accent
#3FB332
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D3CD98

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

Preview Lab → · Contrast checker → · Palette generator →

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