#D3C049#D3C049

#D3C049 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.138 H 100.2°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D3C049
RGBrgb(211, 192, 73)
HSLhsl(52, 61%, 56%)
HSVhsv(52, 65%, 83%)
CMYKcmyk(0%, 9%, 65.4%, 17.3%)
CIE-LABlab(77.30, -7.00, 60.22)
CIE-LCHlch(77.30, 60.63, 96.63°)
OKLaboklab(80.19% -0.0244 0.1362)
OKLCHoklch(80.19% 0.138 100.2)
XYZxyz(46.9182, 52.0313, 13.8737)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C049 #495CD3
analogous
#D37B49 #D3C049 #A1D349
triadic
#D3C049 #49D3C0 #C049D3
tetradic
#D3C049 #49D37B #495CD3 #D349A1
square
#D3C049 #49D37B #495CD3 #D349A1
split-complementary
#D3C049 #49A1D3 #7B49D3
monochromatic
#82751F #B3A12B #D3C049 #DFD17A #EBE2AC

Accessibility & contrast

On white

1.84
#D3C049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#D3C049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C049
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C049#FFFFFF#000000##000000
##D3C0491.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3A
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#E3B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d3c049;
/* rgb */ color: rgb(211, 192, 73);
/* oklch */ color: oklch(80.2% 0.138 100.2);
Tailwind
colors: {
  custom: {
    50: '#e4d281',
    500: '#d3c049',
    950: '#000000',
  },
}
SCSS
$custom: #d3c049;
$custom-light: #e4d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c049",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 51.739,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80193,
    "c": 0.13833,
    "h": 100.2
  },
  "luminance": 0.52029
}

Semantic roles & 50–950 ramp

primary
#D3C049
secondary
#374289
accent
#5AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C049

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

Preview Lab → · Contrast checker → · Palette generator →

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