#D3CA71#D3CA71

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

Color values

HEX#D3CA71
RGBrgb(211, 202, 113)
HSLhsl(54, 53%, 64%)
HSVhsv(54, 46%, 83%)
CMYKcmyk(0%, 4.3%, 46.4%, 17.3%)
CIE-LABlab(80.34, -9.04, 45.30)
CIE-LCHlch(80.34, 46.20, 101.29°)
OKLaboklab(82.74% -0.0259 0.1085)
OKLCHoklch(82.74% 0.112 103.4)
XYZxyz(50.9664, 57.2837, 23.9917)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA71 #717AD3
analogous
#D39971 #D3CA71 #ABD371
triadic
#D3CA71 #71D3CA #CA71D3
tetradic
#D3CA71 #71D399 #717AD3 #D371AB
square
#D3CA71 #71D399 #717AD3 #D371AB
split-complementary
#D3CA71 #71ABD3 #9971D3
monochromatic
#9A9030 #C5B942 #D3CA71 #E1DBA0 #F0EDCE

Accessibility & contrast

On white

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

On black

12.46
#D3CA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA71
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA71#FFFFFF#000000##000000
##D3CA711.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56A
Deuteranopia (green-blind)
#DBCA75
Tritanopia (blue-blind)
#E0BFB5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3ca71;
/* rgb */ color: rgb(211, 202, 113);
/* oklch */ color: oklch(82.7% 0.112 103.4);
Tailwind
colors: {
  custom: {
    50: '#e2da9b',
    500: '#d3ca71',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca71;
$custom-light: #e2da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca71",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 54.49,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82737,
    "c": 0.11152,
    "h": 103.4
  },
  "luminance": 0.57282
}

Semantic roles & 50–950 ramp

primary
#D3CA71
secondary
#49519F
accent
#34C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D3CA71

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

Preview Lab → · Contrast checker → · Palette generator →

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