#D1CA71#D1CA71

#D1CA71 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.112 H 104.6°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D1CA71
RGBrgb(209, 202, 113)
HSLhsl(56, 51%, 63%)
HSVhsv(56, 46%, 82%)
CMYKcmyk(0%, 3.3%, 45.9%, 18%)
CIE-LABlab(80.17, -9.85, 45.06)
CIE-LCHlch(80.17, 46.13, 102.33°)
OKLaboklab(82.57% -0.0281 0.108)
OKLCHoklch(82.57% 0.112 104.6)
XYZxyz(50.3968, 56.9900, 23.9650)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA71 #7178D1
analogous
#D19A71 #D1CA71 #A8D171
triadic
#D1CA71 #71D1CA #CA71D1
tetradic
#D1CA71 #71D19A #7178D1 #D171A8
square
#D1CA71 #71D19A #7178D1 #D171A8
split-complementary
#D1CA71 #71A8D1 #9A71D1
monochromatic
#978F31 #C2B943 #D1CA71 #E0DB9F #EFEDCD

Accessibility & contrast

On white

1.69
#D1CA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#D1CA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA71
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA71#FFFFFF#000000##000000
##D1CA711.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C46A
Deuteranopia (green-blind)
#DBC975
Tritanopia (blue-blind)
#DDC0B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1ca71;
/* rgb */ color: rgb(209, 202, 113);
/* oklch */ color: oklch(82.6% 0.112 104.6);
Tailwind
colors: {
  custom: {
    50: '#e1da9b',
    500: '#d1ca71',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca71;
$custom-light: #e1da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca71",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 55.625,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82566,
    "c": 0.11156,
    "h": 104.6
  },
  "luminance": 0.56989
}

Semantic roles & 50–950 ramp

primary
#D1CA71
secondary
#4A509C
accent
#32BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D1CA71

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

Preview Lab → · Contrast checker → · Palette generator →

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