#D3CD4A#D3CD4A

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

Color values

HEX#D3CD4A
RGBrgb(211, 205, 74)
HSLhsl(57, 61%, 56%)
HSVhsv(57, 65%, 83%)
CMYKcmyk(0%, 2.8%, 64.9%, 17.3%)
CIE-LABlab(80.74, -13.55, 63.40)
CIE-LCHlch(80.74, 64.84, 102.06°)
OKLaboklab(82.93% -0.0429 0.143)
OKLCHoklch(82.93% 0.149 106.7)
XYZxyz(49.9331, 58.0076, 15.0435)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD4A #4A50D3
analogous
#D3884A #D3CD4A #94D34A
triadic
#D3CD4A #4AD3CD #CD4AD3
tetradic
#D3CD4A #4AD388 #4A50D3 #D34A94
square
#D3CD4A #4AD388 #4A50D3 #D34A94
split-complementary
#D3CD4A #4A94D3 #884AD3
monochromatic
#837E20 #B4AE2C #D3CD4A #DFDB7B #EBE8AC

Accessibility & contrast

On white

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

On black

12.60
#D3CD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD4A
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD4A#FFFFFF#000000##000000
##D3CD4A1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3cd4a;
/* rgb */ color: rgb(211, 205, 74);
/* oklch */ color: oklch(82.9% 0.149 106.7);
Tailwind
colors: {
  custom: {
    50: '#e4dc83',
    500: '#d3cd4a',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd4a;
$custom-light: #e4dc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd4a",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 57.372,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82933,
    "c": 0.14934,
    "h": 106.7
  },
  "luminance": 0.58006
}

Semantic roles & 50–950 ramp

primary
#D3CD4A
secondary
#373B8A
accent
#4BE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3CD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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