#D7CD98#D7CD98

#D7CD98 is a very light, moderate yellow. Relative luminance 0.604; OKLCH L 84.4% C 0.070 H 98.7°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#D7CD98
RGBrgb(215, 205, 152)
HSLhsl(50, 44%, 72%)
HSVhsv(50, 29%, 84%)
CMYKcmyk(0%, 4.7%, 29.3%, 15.7%)
CIE-LABlab(82.04, -4.63, 27.70)
CIE-LCHlch(82.04, 28.08, 99.48°)
OKLaboklab(84.36% -0.0106 0.0696)
OKLCHoklch(84.36% 0.07 98.7)
XYZxyz(55.5236, 60.3780, 38.4289)
Luminance0.6038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD98 #98A2D7
analogous
#D7AE98 #D7CD98 #C2D798
triadic
#D7CD98 #98D7CD #CD98D7
tetradic
#D7CD98 #98D7AE #98A2D7 #D798C2
square
#D7CD98 #98D7AE #98A2D7 #D798C2
split-complementary
#D7CD98 #98C2D7 #AE98D7
monochromatic
#B09F44 #C6B86C #D7CD98 #E8E2C4 #F6F4E9

Accessibility & contrast

On white

1.61
#D7CD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#D7CD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD98
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD98#FFFFFF#000000##000000
##D7CD981.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CA94
Deuteranopia (green-blind)
#DACE9A
Tritanopia (blue-blind)
#E1C5BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7cd98;
/* rgb */ color: rgb(215, 205, 152);
/* oklch */ color: oklch(84.4% 0.070 98.7);
Tailwind
colors: {
  custom: {
    50: '#e4dcb6',
    500: '#d7cd98',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd98;
$custom-light: #e4dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd98",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 50.476,
    "s": 44.056,
    "l": 71.961
  },
  "oklch": {
    "l": 0.84359,
    "c": 0.0704,
    "h": 98.7
  },
  "luminance": 0.60377
}

Semantic roles & 50–950 ramp

primary
#D7CD98
secondary
#6571AE
accent
#44B72E
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D7CD98

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

Preview Lab → · Contrast checker → · Palette generator →

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