#D2CD97#D2CD97

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

Color values

HEX#D2CD97
RGBrgb(210, 205, 151)
HSLhsl(55, 40%, 71%)
HSVhsv(55, 28%, 82%)
CMYKcmyk(0%, 2.4%, 28.1%, 17.6%)
CIE-LABlab(81.62, -6.67, 27.58)
CIE-LCHlch(81.62, 28.38, 103.60°)
OKLaboklab(83.92% -0.0165 0.0693)
OKLCHoklch(83.92% 0.071 103.4)
XYZxyz(53.9958, 59.5997, 37.9316)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD97 #979CD2
analogous
#D2AF97 #D2CD97 #B9D297
triadic
#D2CD97 #97D2CD #CD97D2
tetradic
#D2CD97 #97D2AF #979CD2 #D297B9
square
#D2CD97 #97D2AF #979CD2 #D297B9
split-complementary
#D2CD97 #97B9D2 #AF97D2
monochromatic
#A79F48 #C0B86C #D2CD97 #E4E2C2 #F6F5EA

Accessibility & contrast

On white

1.63
#D2CD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D2CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD97
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD97#FFFFFF#000000##000000
##D2CD971.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd97;
/* rgb */ color: rgb(210, 205, 151);
/* oklch */ color: oklch(83.9% 0.071 103.4);
Tailwind
colors: {
  custom: {
    50: '#e0dcb6',
    500: '#d2cd97',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd97;
$custom-light: #e0dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd97",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 54.915,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.83921,
    "c": 0.07124,
    "h": 103.4
  },
  "luminance": 0.59599
}

Semantic roles & 50–950 ramp

primary
#D2CD97
secondary
#656BA8
accent
#3EB333
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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