#D9C745#D9C745

#D9C745 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.2% C 0.147 H 101.3°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D9C745
RGBrgb(217, 199, 69)
HSLhsl(53, 66%, 56%)
HSVhsv(53, 68%, 85%)
CMYKcmyk(0%, 8.3%, 68.2%, 14.9%)
CIE-LABlab(79.63, -8.27, 64.41)
CIE-LCHlch(79.63, 64.94, 97.31°)
OKLaboklab(82.16% -0.0288 0.1442)
OKLCHoklch(82.16% 0.147 101.3)
XYZxyz(50.1150, 56.0304, 13.8043)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C745 #4557D9
analogous
#D97D45 #D9C745 #A1D945
triadic
#D9C745 #45D9C7 #C745D9
tetradic
#D9C745 #45D97D #4557D9 #D945A1
square
#D9C745 #45D97D #4557D9 #D945A1
split-complementary
#D9C745 #45A1D9 #7D45D9
monochromatic
#887B1C #BBA926 #D9C745 #E3D678 #EEE6AB

Accessibility & contrast

On white

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

On black

12.21
#D9C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C745
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C745#FFFFFF#000000##000000
##D9C7451.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C132
Deuteranopia (green-blind)
#DEC94D
Tritanopia (blue-blind)
#E9B9AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c745;
/* rgb */ color: rgb(217, 199, 69);
/* oklch */ color: oklch(82.2% 0.147 101.3);
Tailwind
colors: {
  custom: {
    50: '#e8d780',
    500: '#d9c745',
    950: '#000000',
  },
}
SCSS
$custom: #d9c745;
$custom-light: #e8d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c745",
  "rgb": {
    "r": 217,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 52.703,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82159,
    "c": 0.14702,
    "h": 101.3
  },
  "luminance": 0.56028
}

Semantic roles & 50–950 ramp

primary
#D9C745
secondary
#343F8E
accent
#53E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C745

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

Preview Lab → · Contrast checker → · Palette generator →

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