#D2CD98#D2CD98

#D2CD98 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.070 H 103.3°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D2CD98
RGBrgb(210, 205, 152)
HSLhsl(55, 39%, 71%)
HSVhsv(55, 28%, 82%)
CMYKcmyk(0%, 2.4%, 27.6%, 17.6%)
CIE-LABlab(81.64, -6.54, 27.09)
CIE-LCHlch(81.64, 27.86, 103.57°)
OKLaboklab(83.94% -0.0161 0.0681)
OKLCHoklch(83.94% 0.07 103.3)
XYZxyz(54.0774, 59.6323, 38.3611)
Luminance0.5963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD98 #989DD2
analogous
#D2B098 #D2CD98 #BAD298
triadic
#D2CD98 #98D2CD #CD98D2
tetradic
#D2CD98 #98D2B0 #989DD2 #D298BA
square
#D2CD98 #98D2B0 #989DD2 #D298BA
split-complementary
#D2CD98 #98BAD2 #B098D2
monochromatic
#A79F49 #BFB86D #D2CD98 #E5E2C3 #F6F5EA

Accessibility & contrast

On white

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

On black

12.93
#D2CD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD98
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD98#FFFFFF#000000##000000
##D2CD981.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd98;
/* rgb */ color: rgb(210, 205, 152);
/* oklch */ color: oklch(83.9% 0.070 103.3);
Tailwind
colors: {
  custom: {
    50: '#e0dcb6',
    500: '#d2cd98',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd98;
$custom-light: #e0dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd98",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 54.828,
    "s": 39.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.83941,
    "c": 0.07,
    "h": 103.3
  },
  "luminance": 0.59631
}

Semantic roles & 50–950 ramp

primary
#D2CD98
secondary
#666CA8
accent
#3EB233
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CD98

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

Preview Lab → · Contrast checker → · Palette generator →

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