#D2CA7D#D2CA7D

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

Color values

HEX#D2CA7D
RGBrgb(210, 202, 125)
HSLhsl(54, 49%, 66%)
HSVhsv(54, 40%, 82%)
CMYKcmyk(0%, 3.8%, 40.5%, 17.6%)
CIE-LABlab(80.42, -8.23, 39.40)
CIE-LCHlch(80.42, 40.25, 101.80°)
OKLaboklab(82.83% -0.0224 0.096)
OKLCHoklch(82.83% 0.099 103.2)
XYZxyz(51.4015, 57.4247, 27.7745)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA7D #7D85D2
analogous
#D29F7D #D2CA7D #AFD27D
triadic
#D2CA7D #7DD2CA #CA7DD2
tetradic
#D2CA7D #7DD29F #7D85D2 #D27DAF
square
#D2CA7D #7DD29F #7D85D2 #D27DAF
split-complementary
#D2CA7D #7DAFD2 #9F7DD2
monochromatic
#9E9437 #C2B750 #D2CA7D #E2DDAA #F1EFD8

Accessibility & contrast

On white

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

On black

12.48
#D2CA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA7D
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA7D#FFFFFF#000000##000000
##D2CA7D1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C577
Deuteranopia (green-blind)
#DACA80
Tritanopia (blue-blind)
#DEC0B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca7d;
/* rgb */ color: rgb(210, 202, 125);
/* oklch */ color: oklch(82.8% 0.099 103.2);
Tailwind
colors: {
  custom: {
    50: '#e1daa4',
    500: '#d2ca7d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca7d;
$custom-light: #e1daa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca7d",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 54.353,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82832,
    "c": 0.09855,
    "h": 103.2
  },
  "luminance": 0.57423
}

Semantic roles & 50–950 ramp

primary
#D2CA7D
secondary
#5058A3
accent
#37BC2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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