#D3CA5C#D3CA5C

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

Color values

HEX#D3CA5C
RGBrgb(211, 202, 92)
HSLhsl(55, 57%, 59%)
HSVhsv(55, 56%, 83%)
CMYKcmyk(0%, 4.3%, 56.4%, 17.3%)
CIE-LABlab(80.10, -10.83, 54.98)
CIE-LCHlch(80.10, 56.04, 101.14°)
OKLaboklab(82.47% -0.0332 0.1276)
OKLCHoklch(82.47% 0.132 104.6)
XYZxyz(49.9179, 56.8643, 18.4696)
Luminance0.5686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA5C #5C65D3
analogous
#D38F5C #D3CA5C #A1D35C
triadic
#D3CA5C #5CD3CA #CA5CD3
tetradic
#D3CA5C #5CD38F #5C65D3 #D35CA1
square
#D3CA5C #5CD38F #5C65D3 #D35CA1
split-complementary
#D3CA5C #5CA1D3 #8F5CD3
monochromatic
#8E8626 #BEB433 #D3CA5C #E0DA8C #EDE9BC

Accessibility & contrast

On white

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

On black

12.37
#D3CA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA5C
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA5C#FFFFFF#000000##000000
##D3CA5C1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3ca5c;
/* rgb */ color: rgb(211, 202, 92);
/* oklch */ color: oklch(82.5% 0.132 104.6);
Tailwind
colors: {
  custom: {
    50: '#e3d98e',
    500: '#d3ca5c',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca5c;
$custom-light: #e3d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca5c",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 55.462,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82474,
    "c": 0.13186,
    "h": 104.6
  },
  "luminance": 0.56863
}

Semantic roles & 50–950 ramp

primary
#D3CA5C
secondary
#3F4694
accent
#53E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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