#D3C545#D3C545

#D3C545 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.145 H 103.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D3C545
RGBrgb(211, 197, 69)
HSLhsl(54, 62%, 55%)
HSVhsv(54, 67%, 83%)
CMYKcmyk(0%, 6.6%, 67.3%, 17.3%)
CIE-LABlab(78.59, -9.78, 63.18)
CIE-LCHlch(78.59, 63.93, 98.80°)
OKLaboklab(81.2% -0.0328 0.1418)
OKLCHoklch(81.2% 0.146 103)
XYZxyz(47.9064, 54.2130, 13.5698)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C545 #4553D3
analogous
#D37E45 #D3C545 #9AD345
triadic
#D3C545 #45D3C5 #C545D3
tetradic
#D3C545 #45D37E #4553D3 #D3459A
square
#D3C545 #45D37E #4553D3 #D3459A
split-complementary
#D3C545 #459AD3 #7E45D3
monochromatic
#7F761E #B1A42A #D3C545 #DFD476 #EAE4A8

Accessibility & contrast

On white

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

On black

11.84
#D3C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C545
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C545#FFFFFF#000000##000000
##D3C5451.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF33
Deuteranopia (green-blind)
#DBC54D
Tritanopia (blue-blind)
#E3B8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d3c545;
/* rgb */ color: rgb(211, 197, 69);
/* oklch */ color: oklch(81.2% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e4d680',
    500: '#d3c545',
    950: '#000000',
  },
}
SCSS
$custom: #d3c545;
$custom-light: #e4d680;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c545",
  "rgb": {
    "r": 211,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 54.085,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81204,
    "c": 0.1455,
    "h": 103
  },
  "luminance": 0.54211
}

Semantic roles & 50–950 ramp

primary
#D3C545
secondary
#353D87
accent
#53E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C545

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

Preview Lab → · Contrast checker → · Palette generator →

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