#D1C745#D1C745

#D1C745 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.147 H 104.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D1C745
RGBrgb(209, 199, 69)
HSLhsl(56, 60%, 55%)
HSVhsv(56, 67%, 82%)
CMYKcmyk(0%, 4.8%, 67%, 18%)
CIE-LABlab(78.95, -11.65, 63.49)
CIE-LCHlch(78.95, 64.55, 100.39°)
OKLaboklab(81.45% -0.0379 0.1425)
OKLCHoklch(81.45% 0.147 104.9)
XYZxyz(47.7940, 54.8336, 13.6955)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C745 #454FD1
analogous
#D18145 #D1C745 #95D145
triadic
#D1C745 #45D1C7 #C745D1
tetradic
#D1C745 #45D181 #454FD1 #D14595
square
#D1C745 #45D181 #454FD1 #D14595
split-complementary
#D1C745 #4595D1 #8145D1
monochromatic
#7D761F #AEA42B #D1C745 #DDD676 #E9E5A7

Accessibility & contrast

On white

1.75
#D1C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D1C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C745
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C745#FFFFFF#000000##000000
##D1C7451.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C033
Deuteranopia (green-blind)
#DCC64D
Tritanopia (blue-blind)
#E0BAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c745;
/* rgb */ color: rgb(209, 199, 69);
/* oklch */ color: oklch(81.4% 0.147 104.9);
Tailwind
colors: {
  custom: {
    50: '#e2d780',
    500: '#d1c745',
    950: '#000000',
  },
}
SCSS
$custom: #d1c745;
$custom-light: #e2d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c745",
  "rgb": {
    "r": 209,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 55.714,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81449,
    "c": 0.14745,
    "h": 104.9
  },
  "luminance": 0.54832
}

Semantic roles & 50–950 ramp

primary
#D1C745
secondary
#363B84
accent
#50E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C745

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

Preview Lab → · Contrast checker → · Palette generator →

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