#D3CA72#D3CA72

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

Color values

HEX#D3CA72
RGBrgb(211, 202, 114)
HSLhsl(54, 52%, 64%)
HSVhsv(54, 46%, 83%)
CMYKcmyk(0%, 4.3%, 46%, 17.3%)
CIE-LABlab(80.35, -8.95, 44.83)
CIE-LCHlch(80.35, 45.71, 101.29°)
OKLaboklab(82.75% -0.0255 0.1075)
OKLCHoklch(82.75% 0.11 103.4)
XYZxyz(51.0230, 57.3064, 24.2898)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA72 #727BD3
analogous
#D39972 #D3CA72 #ABD372
triadic
#D3CA72 #72D3CA #CA72D3
tetradic
#D3CA72 #72D399 #727BD3 #D372AB
square
#D3CA72 #72D399 #727BD3 #D372AB
split-complementary
#D3CA72 #72ABD3 #9972D3
monochromatic
#9A9130 #C4B843 #D3CA72 #E2DCA1 #F0EDCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CA72#FFFFFF#000000##000000
##D3CA721.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)
#D8C56B
Deuteranopia (green-blind)
#DBCA76
Tritanopia (blue-blind)
#E0BFB5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3ca72;
/* rgb */ color: rgb(211, 202, 114);
/* oklch */ color: oklch(82.8% 0.110 103.4);
Tailwind
colors: {
  custom: {
    50: '#e2da9c',
    500: '#d3ca72',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca72;
$custom-light: #e2da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca72",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 114
  },
  "hsl": {
    "h": 54.433,
    "s": 52.432,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82751,
    "c": 0.11047,
    "h": 103.4
  },
  "luminance": 0.57305
}

Semantic roles & 50–950 ramp

primary
#D3CA72
secondary
#4A529F
accent
#34C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D3CA72

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

Preview Lab → · Contrast checker → · Palette generator →

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