#D2CA71#D2CA71

#D2CA71 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.112 H 104.0°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D2CA71
RGBrgb(210, 202, 113)
HSLhsl(55, 52%, 63%)
HSVhsv(55, 46%, 82%)
CMYKcmyk(0%, 3.8%, 46.2%, 17.6%)
CIE-LABlab(80.26, -9.45, 45.18)
CIE-LCHlch(80.26, 46.16, 101.81°)
OKLaboklab(82.65% -0.027 0.1082)
OKLCHoklch(82.65% 0.112 104)
XYZxyz(50.6807, 57.1364, 23.9783)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA71 #7179D2
analogous
#D29971 #D2CA71 #A9D271
triadic
#D2CA71 #71D2CA #CA71D2
tetradic
#D2CA71 #71D299 #7179D2 #D271A9
square
#D2CA71 #71D299 #7179D2 #D271A9
split-complementary
#D2CA71 #71A9D2 #9971D2
monochromatic
#989030 #C3B943 #D2CA71 #E1DB9F #EFEDCE

Accessibility & contrast

On white

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

On black

12.43
#D2CA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA71
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA71#FFFFFF#000000##000000
##D2CA711.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca71;
/* rgb */ color: rgb(210, 202, 113);
/* oklch */ color: oklch(82.7% 0.112 104.0);
Tailwind
colors: {
  custom: {
    50: '#e1da9b',
    500: '#d2ca71',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca71;
$custom-light: #e1da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca71",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 55.052,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82651,
    "c": 0.11154,
    "h": 104
  },
  "luminance": 0.57135
}

Semantic roles & 50–950 ramp

primary
#D2CA71
secondary
#4A519E
accent
#33BF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CA71

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

Preview Lab → · Contrast checker → · Palette generator →

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