#D3C549#D3C549

#D3C549 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.143 H 102.8°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D3C549
RGBrgb(211, 197, 73)
HSLhsl(54, 61%, 56%)
HSVhsv(54, 65%, 83%)
CMYKcmyk(0%, 6.6%, 65.4%, 17.3%)
CIE-LABlab(78.62, -9.56, 61.60)
CIE-LCHlch(78.62, 62.33, 98.82°)
OKLaboklab(81.24% -0.0317 0.1391)
OKLCHoklch(81.24% 0.143 102.8)
XYZxyz(48.0347, 54.2643, 14.2459)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C549 #4957D3
analogous
#D38049 #D3C549 #9CD349
triadic
#D3C549 #49D3C5 #C549D3
tetradic
#D3C549 #49D380 #4957D3 #D3499C
square
#D3C549 #49D380 #4957D3 #D3499C
split-complementary
#D3C549 #499CD3 #8049D3
monochromatic
#82781F #B3A62B #D3C549 #DFD57A #EBE4AC

Accessibility & contrast

On white

1.77
#D3C549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#D3C549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C549
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C549#FFFFFF#000000##000000
##D3C5491.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF39
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#E2B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c549;
/* rgb */ color: rgb(211, 197, 73);
/* oklch */ color: oklch(81.2% 0.143 102.8);
Tailwind
colors: {
  custom: {
    50: '#e4d682',
    500: '#d3c549',
    950: '#000000',
  },
}
SCSS
$custom: #d3c549;
$custom-light: #e4d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c549",
  "rgb": {
    "r": 211,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 53.913,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81238,
    "c": 0.14264,
    "h": 102.8
  },
  "luminance": 0.54262
}

Semantic roles & 50–950 ramp

primary
#D3C549
secondary
#373F89
accent
#54E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C549

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

Preview Lab → · Contrast checker → · Palette generator →

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