#D2CA97#D2CA97

#D2CA97 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.068 H 100.2°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D2CA97
RGBrgb(210, 202, 151)
HSLhsl(52, 40%, 71%)
HSVhsv(52, 28%, 82%)
CMYKcmyk(0%, 3.8%, 28.1%, 17.6%)
CIE-LABlab(80.84, -5.12, 26.53)
CIE-LCHlch(80.84, 27.02, 100.93°)
OKLaboklab(83.3% -0.012 0.0668)
OKLCHoklch(83.3% 0.068 100.2)
XYZxyz(53.2851, 58.1782, 37.6947)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA97 #979FD2
analogous
#D2AC97 #D2CA97 #BCD297
triadic
#D2CA97 #97D2CA #CA97D2
tetradic
#D2CA97 #97D2AC #979FD2 #D297BC
square
#D2CA97 #97D2AC #979FD2 #D297BC
split-complementary
#D2CA97 #97BCD2 #AC97D2
monochromatic
#A79A48 #C0B46C #D2CA97 #E4E0C2 #F6F4EA

Accessibility & contrast

On white

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

On black

12.64
#D2CA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA97
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA97#FFFFFF#000000##000000
##D2CA971.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C794
Deuteranopia (green-blind)
#D6CA99
Tritanopia (blue-blind)
#DBC3BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ca97;
/* rgb */ color: rgb(210, 202, 151);
/* oklch */ color: oklch(83.3% 0.068 100.2);
Tailwind
colors: {
  custom: {
    50: '#e0dab6',
    500: '#d2ca97',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca97;
$custom-light: #e0dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca97",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 151
  },
  "hsl": {
    "h": 51.864,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.83302,
    "c": 0.06785,
    "h": 100.2
  },
  "luminance": 0.58177
}

Semantic roles & 50–950 ramp

primary
#D2CA97
secondary
#656EA8
accent
#44B333
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D2CA97

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

Preview Lab → · Contrast checker → · Palette generator →

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