#D2CA7F#D2CA7F

#D2CA7F is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.096 H 103.0°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D2CA7F
RGBrgb(210, 202, 127)
HSLhsl(54, 48%, 66%)
HSVhsv(54, 40%, 82%)
CMYKcmyk(0%, 3.8%, 39.5%, 17.6%)
CIE-LABlab(80.45, -8.01, 38.42)
CIE-LCHlch(80.45, 39.25, 101.78°)
OKLaboklab(82.87% -0.0217 0.0938)
OKLCHoklch(82.87% 0.096 103)
XYZxyz(51.5305, 57.4763, 28.4541)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA7F #7F87D2
analogous
#D2A07F #D2CA7F #B0D27F
triadic
#D2CA7F #7FD2CA #CA7FD2
tetradic
#D2CA7F #7FD2A0 #7F87D2 #D27FB0
square
#D2CA7F #7FD2A0 #7F87D2 #D27FB0
split-complementary
#D2CA7F #7FB0D2 #A07FD2
monochromatic
#9F9538 #C2B752 #D2CA7F #E2DDAC #F2EFDA

Accessibility & contrast

On white

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

On black

12.50
#D2CA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA7F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA7F#FFFFFF#000000##000000
##D2CA7F1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C579
Deuteranopia (green-blind)
#D9CA82
Tritanopia (blue-blind)
#DDC1B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2ca7f;
/* rgb */ color: rgb(210, 202, 127);
/* oklch */ color: oklch(82.9% 0.096 103.0);
Tailwind
colors: {
  custom: {
    50: '#e1daa5',
    500: '#d2ca7f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca7f;
$custom-light: #e1daa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca7f",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 127
  },
  "hsl": {
    "h": 54.217,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82865,
    "c": 0.09631,
    "h": 103
  },
  "luminance": 0.57475
}

Semantic roles & 50–950 ramp

primary
#D2CA7F
secondary
#5159A4
accent
#38BB2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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