#D3CC5A#D3CC5A

#D3CC5A is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.136 H 105.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D3CC5A
RGBrgb(211, 204, 90)
HSLhsl(57, 58%, 59%)
HSVhsv(57, 57%, 83%)
CMYKcmyk(0%, 3.3%, 57.3%, 17.3%)
CIE-LABlab(80.61, -11.99, 56.46)
CIE-LCHlch(80.61, 57.72, 101.99°)
OKLaboklab(82.87% -0.0368 0.1305)
OKLCHoklch(82.87% 0.136 105.7)
XYZxyz(50.3039, 57.7744, 18.1726)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC5A #5A61D3
analogous
#D3905A #D3CC5A #9ED35A
triadic
#D3CC5A #5AD3CC #CC5AD3
tetradic
#D3CC5A #5AD390 #5A61D3 #D35A9E
square
#D3CC5A #5AD390 #5A61D3 #D35A9E
split-complementary
#D3CC5A #5A9ED3 #905AD3
monochromatic
#8D8726 #BDB532 #D3CC5A #E0DB8A #EDEABB

Accessibility & contrast

On white

1.67
#D3CC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#D3CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC5A
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC5A#FFFFFF#000000##000000
##D3CC5A1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54E
Deuteranopia (green-blind)
#DFCA60
Tritanopia (blue-blind)
#E1C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc5a;
/* rgb */ color: rgb(211, 204, 90);
/* oklch */ color: oklch(82.9% 0.136 105.7);
Tailwind
colors: {
  custom: {
    50: '#e3db8d',
    500: '#d3cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc5a;
$custom-light: #e3db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc5a",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 56.529,
    "s": 57.895,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82873,
    "c": 0.1356,
    "h": 105.7
  },
  "luminance": 0.57773
}

Semantic roles & 50–950 ramp

primary
#D3CC5A
secondary
#3E4393
accent
#50E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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