#D2CA7A#D2CA7A

#D2CA7A is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.102 H 103.4°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D2CA7A
RGBrgb(210, 202, 122)
HSLhsl(55, 49%, 65%)
HSVhsv(55, 42%, 82%)
CMYKcmyk(0%, 3.8%, 41.9%, 17.6%)
CIE-LABlab(80.38, -8.55, 40.86)
CIE-LCHlch(80.38, 41.74, 101.82°)
OKLaboklab(82.79% -0.0236 0.0991)
OKLCHoklch(82.79% 0.102 103.4)
XYZxyz(51.2127, 57.3492, 26.7803)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA7A #7A82D2
analogous
#D29E7A #D2CA7A #AED27A
triadic
#D2CA7A #7AD2CA #CA7AD2
tetradic
#D2CA7A #7AD29E #7A82D2 #D27AAE
square
#D2CA7A #7AD29E #7A82D2 #D27AAE
split-complementary
#D2CA7A #7AAED2 #9E7AD2
monochromatic
#9D9335 #C3B84C #D2CA7A #E1DCA8 #F1EED5

Accessibility & contrast

On white

1.68
#D2CA7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D2CA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA7A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA7A#FFFFFF#000000##000000
##D2CA7A1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C574
Deuteranopia (green-blind)
#DAC97D
Tritanopia (blue-blind)
#DEC0B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca7a;
/* rgb */ color: rgb(210, 202, 122);
/* oklch */ color: oklch(82.8% 0.102 103.4);
Tailwind
colors: {
  custom: {
    50: '#e1daa1',
    500: '#d2ca7a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca7a;
$custom-light: #e1daa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca7a",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 54.545,
    "s": 49.438,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82785,
    "c": 0.10188,
    "h": 103.4
  },
  "luminance": 0.57348
}

Semantic roles & 50–950 ramp

primary
#D2CA7A
secondary
#4F56A2
accent
#36BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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