#D3CD54#D3CD54

#D3CD54 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.142 H 106.4°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D3CD54
RGBrgb(211, 205, 84)
HSLhsl(57, 59%, 58%)
HSVhsv(57, 60%, 83%)
CMYKcmyk(0%, 2.8%, 60.2%, 17.3%)
CIE-LABlab(80.82, -12.92, 59.33)
CIE-LCHlch(80.82, 60.72, 102.28°)
OKLaboklab(83.02% -0.0401 0.1359)
OKLCHoklch(83.02% 0.142 106.4)
XYZxyz(50.2972, 58.1532, 16.9610)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD54 #545AD3
analogous
#D38D54 #D3CD54 #9AD354
triadic
#D3CD54 #54D3CD #CD54D3
tetradic
#D3CD54 #54D38D #545AD3 #D3549A
square
#D3CD54 #54D38D #545AD3 #D3549A
split-complementary
#D3CD54 #549AD3 #8D54D3
monochromatic
#898423 #BAB330 #D3CD54 #E0DB85 #ECE9B5

Accessibility & contrast

On white

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

On black

12.63
#D3CD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD54
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD54#FFFFFF#000000##000000
##D3CD541.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#E1C1B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3cd54;
/* rgb */ color: rgb(211, 205, 84);
/* oklch */ color: oklch(83.0% 0.142 106.4);
Tailwind
colors: {
  custom: {
    50: '#e3dc89',
    500: '#d3cd54',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd54;
$custom-light: #e3dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd54",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 57.165,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83023,
    "c": 0.14164,
    "h": 106.4
  },
  "luminance": 0.58152
}

Semantic roles & 50–950 ramp

primary
#D3CD54
secondary
#3C4090
accent
#4DE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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