#D3CD5A#D3CD5A

#D3CD5A is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.137 H 106.2°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D3CD5A
RGBrgb(211, 205, 90)
HSLhsl(57, 58%, 59%)
HSVhsv(57, 57%, 83%)
CMYKcmyk(0%, 2.8%, 57.3%, 17.3%)
CIE-LABlab(80.88, -12.50, 56.76)
CIE-LCHlch(80.88, 58.12, 102.42°)
OKLaboklab(83.08% -0.0382 0.1312)
OKLCHoklch(83.08% 0.137 106.2)
XYZxyz(50.5423, 58.2513, 18.2521)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD5A #5A60D3
analogous
#D3915A #D3CD5A #9DD35A
triadic
#D3CD5A #5AD3CD #CD5AD3
tetradic
#D3CD5A #5AD391 #5A60D3 #D35A9D
square
#D3CD5A #5AD391 #5A60D3 #D35A9D
split-complementary
#D3CD5A #5A9DD3 #915AD3
monochromatic
#8D8826 #BDB632 #D3CD5A #E0DC8A #EDEABB

Accessibility & contrast

On white

1.66
#D3CD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#D3CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD5A
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD5A#FFFFFF#000000##000000
##D3CD5A1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64E
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#E1C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3cd5a;
/* rgb */ color: rgb(211, 205, 90);
/* oklch */ color: oklch(83.1% 0.137 106.2);
Tailwind
colors: {
  custom: {
    50: '#e3dc8d',
    500: '#d3cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd5a;
$custom-light: #e3dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd5a",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 57.025,
    "s": 57.895,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83084,
    "c": 0.1366,
    "h": 106.2
  },
  "luminance": 0.5825
}

Semantic roles & 50–950 ramp

primary
#D3CD5A
secondary
#3E4293
accent
#4EE147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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