#D2CB97#D2CB97

#D2CB97 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.069 H 101.3°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D2CB97
RGBrgb(210, 203, 151)
HSLhsl(53, 40%, 71%)
HSVhsv(53, 28%, 82%)
CMYKcmyk(0%, 3.3%, 28.1%, 17.6%)
CIE-LABlab(81.10, -5.64, 26.88)
CIE-LCHlch(81.10, 27.47, 101.85°)
OKLaboklab(83.51% -0.0135 0.0676)
OKLCHoklch(83.51% 0.069 101.3)
XYZxyz(53.5205, 58.6489, 37.7732)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB97 #979ED2
analogous
#D2AD97 #D2CB97 #BBD297
triadic
#D2CB97 #97D2CB #CB97D2
tetradic
#D2CB97 #97D2AD #979ED2 #D297BB
square
#D2CB97 #97D2AD #979ED2 #D297BB
split-complementary
#D2CB97 #97BBD2 #AD97D2
monochromatic
#A79B48 #C0B66C #D2CB97 #E4E0C2 #F6F4EA

Accessibility & contrast

On white

1.65
#D2CB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#D2CB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB97
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB97#FFFFFF#000000##000000
##D2CB971.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C794
Deuteranopia (green-blind)
#D7CB99
Tritanopia (blue-blind)
#DBC4BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cb97;
/* rgb */ color: rgb(210, 203, 151);
/* oklch */ color: oklch(83.5% 0.069 101.3);
Tailwind
colors: {
  custom: {
    50: '#e0dab6',
    500: '#d2cb97',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb97;
$custom-light: #e0dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb97",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 151
  },
  "hsl": {
    "h": 52.881,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.83508,
    "c": 0.06896,
    "h": 101.3
  },
  "luminance": 0.58648
}

Semantic roles & 50–950 ramp

primary
#D2CB97
secondary
#656DA8
accent
#42B333
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D2CB97

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

Preview Lab → · Contrast checker → · Palette generator →

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