#D3CA98#D3CA98

#D3CA98 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.4% C 0.067 H 99.1°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D3CA98
RGBrgb(211, 202, 152)
HSLhsl(51, 40%, 71%)
HSVhsv(51, 28%, 83%)
CMYKcmyk(0%, 4.3%, 28%, 17.3%)
CIE-LABlab(80.94, -4.61, 26.15)
CIE-LCHlch(80.94, 26.56, 99.99°)
OKLaboklab(83.41% -0.0105 0.0659)
OKLCHoklch(83.41% 0.067 99.1)
XYZxyz(53.6523, 58.3581, 38.1376)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA98 #98A1D3
analogous
#D3AC98 #D3CA98 #BED398
triadic
#D3CA98 #98D3CA #CA98D3
tetradic
#D3CA98 #98D3AC #98A1D3 #D398BE
square
#D3CA98 #98D3AC #98A1D3 #D398BE
split-complementary
#D3CA98 #98BED3 #AC98D3
monochromatic
#A99A48 #C1B46D #D3CA98 #E5E0C3 #F6F4EA

Accessibility & contrast

On white

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

On black

12.67
#D3CA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA98
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA98#FFFFFF#000000##000000
##D3CA981.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C795
Deuteranopia (green-blind)
#D7CB9A
Tritanopia (blue-blind)
#DCC3BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3ca98;
/* rgb */ color: rgb(211, 202, 152);
/* oklch */ color: oklch(83.4% 0.067 99.1);
Tailwind
colors: {
  custom: {
    50: '#e1dab6',
    500: '#d3ca98',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca98;
$custom-light: #e1dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca98",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 152
  },
  "hsl": {
    "h": 50.847,
    "s": 40.136,
    "l": 71.176
  },
  "oklch": {
    "l": 0.83406,
    "c": 0.06673,
    "h": 99.1
  },
  "luminance": 0.58357
}

Semantic roles & 50–950 ramp

primary
#D3CA98
secondary
#6670A9
accent
#46B332
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D3CA98

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

Preview Lab → · Contrast checker → · Palette generator →

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