#D2CA8A#D2CA8A

#D2CA8A is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.084 H 101.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D2CA8A
RGBrgb(210, 202, 138)
HSLhsl(53, 44%, 68%)
HSVhsv(53, 34%, 82%)
CMYKcmyk(0%, 3.8%, 34.3%, 17.6%)
CIE-LABlab(80.62, -6.76, 33.00)
CIE-LCHlch(80.62, 33.69, 101.57°)
OKLaboklab(83.05% -0.0173 0.0818)
OKLCHoklch(83.05% 0.084 101.9)
XYZxyz(52.2870, 57.7789, 32.4379)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA8A #8A92D2
analogous
#D2A68A #D2CA8A #B6D28A
triadic
#D2CA8A #8AD2CA #CA8AD2
tetradic
#D2CA8A #8AD2A6 #8A92D2 #D28AB6
square
#D2CA8A #8AD2A6 #8A92D2 #D28AB6
split-complementary
#D2CA8A #8AB6D2 #A68AD2
monochromatic
#A3983F #C1B65E #D2CA8A #E3DEB6 #F4F2E2

Accessibility & contrast

On white

1.67
#D2CA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#D2CA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA8A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA8A#FFFFFF#000000##000000
##D2CA8A1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C685
Deuteranopia (green-blind)
#D8CA8C
Tritanopia (blue-blind)
#DCC2BA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2ca8a;
/* rgb */ color: rgb(210, 202, 138);
/* oklch */ color: oklch(83.1% 0.084 101.9);
Tailwind
colors: {
  custom: {
    50: '#e1daad',
    500: '#d2ca8a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca8a;
$custom-light: #e1daad;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca8a",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 53.333,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83054,
    "c": 0.08358,
    "h": 101.9
  },
  "luminance": 0.57778
}

Semantic roles & 50–950 ramp

primary
#D2CA8A
secondary
#5961A8
accent
#3DB82E
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #D2CA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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