#D4C745#D4C745

#D4C745 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.147 H 103.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D4C745
RGBrgb(212, 199, 69)
HSLhsl(55, 62%, 55%)
HSVhsv(55, 67%, 83%)
CMYKcmyk(0%, 6.1%, 67.5%, 16.9%)
CIE-LABlab(79.20, -10.38, 63.83)
CIE-LCHlch(79.20, 64.67, 99.24°)
OKLaboklab(81.71% -0.0345 0.1431)
OKLCHoklch(81.71% 0.147 103.6)
XYZxyz(48.6510, 55.2755, 13.7356)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C745 #4552D4
analogous
#D47F45 #D4C745 #9AD445
triadic
#D4C745 #45D4C7 #C745D4
tetradic
#D4C745 #45D47F #4552D4 #D4459A
square
#D4C745 #45D47F #4552D4 #D4459A
split-complementary
#D4C745 #459AD4 #7F45D4
monochromatic
#81781E #B3A629 #D4C745 #DFD677 #EBE5A8

Accessibility & contrast

On white

1.74
#D4C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D4C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C745
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C745#FFFFFF#000000##000000
##D4C7451.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C133
Deuteranopia (green-blind)
#DDC74D
Tritanopia (blue-blind)
#E4BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c745;
/* rgb */ color: rgb(212, 199, 69);
/* oklch */ color: oklch(81.7% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#e5d780',
    500: '#d4c745',
    950: '#000000',
  },
}
SCSS
$custom: #d4c745;
$custom-light: #e5d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c745",
  "rgb": {
    "r": 212,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 54.545,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81713,
    "c": 0.14722,
    "h": 103.6
  },
  "luminance": 0.55274
}

Semantic roles & 50–950 ramp

primary
#D4C745
secondary
#353D88
accent
#51E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C745

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

Preview Lab → · Contrast checker → · Palette generator →

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