#D3C949#D3C949

#D3C949 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.146 H 104.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D3C949
RGBrgb(211, 201, 73)
HSLhsl(56, 61%, 56%)
HSVhsv(56, 65%, 83%)
CMYKcmyk(0%, 4.7%, 65.4%, 17.3%)
CIE-LABlab(79.67, -11.59, 62.70)
CIE-LCHlch(79.67, 63.76, 100.47°)
OKLaboklab(82.08% -0.0375 0.1414)
OKLCHoklch(82.08% 0.146 104.8)
XYZxyz(48.9551, 56.1050, 14.5527)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C949 #4953D3
analogous
#D38449 #D3C949 #98D349
triadic
#D3C949 #49D3C9 #C949D3
tetradic
#D3C949 #49D384 #4953D3 #D34998
square
#D3C949 #49D384 #4953D3 #D34998
split-complementary
#D3C949 #4998D3 #8449D3
monochromatic
#827B1F #B3AA2B #D3C949 #DFD87A #EBE6AC

Accessibility & contrast

On white

1.72
#D3C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#D3C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C949
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C949#FFFFFF#000000##000000
##D3C9491.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DEC851
Tritanopia (blue-blind)
#E2BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c949;
/* rgb */ color: rgb(211, 201, 73);
/* oklch */ color: oklch(82.1% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e4d982',
    500: '#d3c949',
    950: '#000000',
  },
}
SCSS
$custom: #d3c949;
$custom-light: #e4d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c949",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 55.652,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82079,
    "c": 0.14627,
    "h": 104.8
  },
  "luminance": 0.56103
}

Semantic roles & 50–950 ramp

primary
#D3C949
secondary
#373D89
accent
#4FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C949

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

Preview Lab → · Contrast checker → · Palette generator →

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