#D2CA7B#D2CA7B

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

Color values

HEX#D2CA7B
RGBrgb(210, 202, 123)
HSLhsl(54, 49%, 65%)
HSVhsv(54, 41%, 82%)
CMYKcmyk(0%, 3.8%, 41.4%, 17.6%)
CIE-LABlab(80.39, -8.44, 40.37)
CIE-LCHlch(80.39, 41.24, 101.81°)
OKLaboklab(82.8% -0.0232 0.0981)
OKLCHoklch(82.8% 0.101 103.3)
XYZxyz(51.2750, 57.3741, 27.1083)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA7B #7B83D2
analogous
#D29E7B #D2CA7B #AED27B
triadic
#D2CA7B #7BD2CA #CA7BD2
tetradic
#D2CA7B #7BD29E #7B83D2 #D27BAE
square
#D2CA7B #7BD29E #7B83D2 #D27BAE
split-complementary
#D2CA7B #7BAED2 #9E7BD2
monochromatic
#9D9436 #C2B84D #D2CA7B #E2DCA9 #F1EFD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CA7B#FFFFFF#000000##000000
##D2CA7B1.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)
#D7C575
Deuteranopia (green-blind)
#DAC97E
Tritanopia (blue-blind)
#DEC0B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca7b;
/* rgb */ color: rgb(210, 202, 123);
/* oklch */ color: oklch(82.8% 0.101 103.3);
Tailwind
colors: {
  custom: {
    50: '#e1daa2',
    500: '#d2ca7b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca7b;
$custom-light: #e1daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca7b",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 54.483,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82801,
    "c": 0.10077,
    "h": 103.3
  },
  "luminance": 0.57373
}

Semantic roles & 50–950 ramp

primary
#D2CA7B
secondary
#4F57A2
accent
#37BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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