#D3C645#D3C645

#D3C645 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.146 H 103.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D3C645
RGBrgb(211, 198, 69)
HSLhsl(55, 62%, 55%)
HSVhsv(55, 67%, 83%)
CMYKcmyk(0%, 6.2%, 67.3%, 17.3%)
CIE-LABlab(78.85, -10.29, 63.45)
CIE-LCHlch(78.85, 64.28, 99.21°)
OKLaboklab(81.41% -0.0342 0.1423)
OKLCHoklch(81.41% 0.146 103.5)
XYZxyz(48.1342, 54.6686, 13.6457)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C645 #4552D3
analogous
#D37F45 #D3C645 #99D345
triadic
#D3C645 #45D3C6 #C645D3
tetradic
#D3C645 #45D37F #4552D3 #D34599
square
#D3C645 #45D37F #4552D3 #D34599
split-complementary
#D3C645 #4599D3 #7F45D3
monochromatic
#7F771E #B1A52A #D3C645 #DFD576 #EAE4A8

Accessibility & contrast

On white

1.76
#D3C645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#D3C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C645
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C645#FFFFFF#000000##000000
##D3C6451.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C033
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#E2B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c645;
/* rgb */ color: rgb(211, 198, 69);
/* oklch */ color: oklch(81.4% 0.146 103.5);
Tailwind
colors: {
  custom: {
    50: '#e4d780',
    500: '#d3c645',
    950: '#000000',
  },
}
SCSS
$custom: #d3c645;
$custom-light: #e4d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c645",
  "rgb": {
    "r": 211,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 54.507,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81414,
    "c": 0.14639,
    "h": 103.5
  },
  "luminance": 0.54667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C645

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

Preview Lab → · Contrast checker → · Palette generator →

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