#D8C745#D8C745

#D8C745 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.147 H 101.8°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D8C745
RGBrgb(216, 199, 69)
HSLhsl(53, 65%, 56%)
HSVhsv(53, 68%, 85%)
CMYKcmyk(0%, 7.9%, 68.1%, 15.3%)
CIE-LABlab(79.54, -8.69, 64.29)
CIE-LCHlch(79.54, 64.88, 97.70°)
OKLaboklab(82.07% -0.03 0.144)
OKLCHoklch(82.07% 0.147 101.8)
XYZxyz(49.8186, 55.8776, 13.7904)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C745 #4556D8
analogous
#D87D45 #D8C745 #9FD845
triadic
#D8C745 #45D8C7 #C745D8
tetradic
#D8C745 #45D87D #4556D8 #D8459F
square
#D8C745 #45D87D #4556D8 #D8459F
split-complementary
#D8C745 #459FD8 #7D45D8
monochromatic
#867A1C #B9A827 #D8C745 #E3D678 #EDE5AA

Accessibility & contrast

On white

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

On black

12.18
#D8C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C745
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C745#FFFFFF#000000##000000
##D8C7451.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8c745;
/* rgb */ color: rgb(216, 199, 69);
/* oklch */ color: oklch(82.1% 0.147 101.8);
Tailwind
colors: {
  custom: {
    50: '#e8d780',
    500: '#d8c745',
    950: '#000000',
  },
}
SCSS
$custom: #d8c745;
$custom-light: #e8d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c745",
  "rgb": {
    "r": 216,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 53.061,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82069,
    "c": 0.14705,
    "h": 101.8
  },
  "luminance": 0.55875
}

Semantic roles & 50–950 ramp

primary
#D8C745
secondary
#343F8D
accent
#53E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C745

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

Preview Lab → · Contrast checker → · Palette generator →

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