#D3CD4C#D3CD4C

#D3CD4C is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.148 H 106.7°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D3CD4C
RGBrgb(211, 205, 76)
HSLhsl(57, 61%, 56%)
HSVhsv(57, 64%, 83%)
CMYKcmyk(0%, 2.8%, 64%, 17.3%)
CIE-LABlab(80.76, -13.43, 62.61)
CIE-LCHlch(80.76, 64.04, 102.11°)
OKLaboklab(82.95% -0.0424 0.1417)
OKLCHoklch(82.95% 0.148 106.7)
XYZxyz(50.0016, 58.0350, 15.4041)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD4C #4C52D3
analogous
#D38A4C #D3CD4C #96D34C
triadic
#D3CD4C #4CD3CD #CD4CD3
tetradic
#D3CD4C #4CD38A #4C52D3 #D34C96
square
#D3CD4C #4CD38A #4C52D3 #D34C96
split-complementary
#D3CD4C #4C96D3 #8A4CD3
monochromatic
#848020 #B5AF2D #D3CD4C #DFDB7D #EBE8AE

Accessibility & contrast

On white

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

On black

12.61
#D3CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD4C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD4C#FFFFFF#000000##000000
##D3CD4C1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#E0CB54
Tritanopia (blue-blind)
#E2C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cd4c;
/* rgb */ color: rgb(211, 205, 76);
/* oklch */ color: oklch(83.0% 0.148 106.7);
Tailwind
colors: {
  custom: {
    50: '#e4dc84',
    500: '#d3cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd4c;
$custom-light: #e4dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd4c",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 57.333,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8295,
    "c": 0.14787,
    "h": 106.7
  },
  "luminance": 0.58033
}

Semantic roles & 50–950 ramp

primary
#D3CD4C
secondary
#383C8B
accent
#4BE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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