#D3CA5F#D3CA5F

#D3CA5F is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.129 H 104.5°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D3CA5F
RGBrgb(211, 202, 95)
HSLhsl(55, 57%, 60%)
HSVhsv(55, 55%, 83%)
CMYKcmyk(0%, 4.3%, 55%, 17.3%)
CIE-LABlab(80.13, -10.60, 53.64)
CIE-LCHlch(80.13, 54.68, 101.18°)
OKLaboklab(82.51% -0.0322 0.1251)
OKLCHoklch(82.51% 0.129 104.5)
XYZxyz(50.0516, 56.9178, 19.1740)
Luminance0.5692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA5F #5F68D3
analogous
#D3905F #D3CA5F #A2D35F
triadic
#D3CA5F #5FD3CA #CA5FD3
tetradic
#D3CA5F #5FD390 #5F68D3 #D35FA2
square
#D3CA5F #5FD390 #5F68D3 #D35FA2
split-complementary
#D3CA5F #5FA2D3 #905FD3
monochromatic
#908828 #C0B535 #D3CA5F #E0DA8F #EDEABF

Accessibility & contrast

On white

1.70
#D3CA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#D3CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA5F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA5F#FFFFFF#000000##000000
##D3CA5F1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C454
Deuteranopia (green-blind)
#DDC964
Tritanopia (blue-blind)
#E1BEB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3ca5f;
/* rgb */ color: rgb(211, 202, 95);
/* oklch */ color: oklch(82.5% 0.129 104.5);
Tailwind
colors: {
  custom: {
    50: '#e3d990',
    500: '#d3ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca5f;
$custom-light: #e3d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca5f",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 55.345,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.82507,
    "c": 0.12915,
    "h": 104.5
  },
  "luminance": 0.56916
}

Semantic roles & 50–950 ramp

primary
#D3CA5F
secondary
#404796
accent
#53E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D3CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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