#D4C645#D4C645

#D4C645 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.146 H 103.1°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D4C645
RGBrgb(212, 198, 69)
HSLhsl(54, 62%, 55%)
HSVhsv(54, 67%, 83%)
CMYKcmyk(0%, 6.6%, 67.5%, 16.9%)
CIE-LABlab(78.94, -9.87, 63.56)
CIE-LCHlch(78.94, 64.32, 98.83°)
OKLaboklab(81.5% -0.0331 0.1425)
OKLCHoklch(81.5% 0.146 103.1)
XYZxyz(48.4216, 54.8168, 13.6592)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C645 #4553D4
analogous
#D47F45 #D4C645 #9AD445
triadic
#D4C645 #45D4C6 #C645D4
tetradic
#D4C645 #45D47F #4553D4 #D4459A
square
#D4C645 #45D47F #4553D4 #D4459A
split-complementary
#D4C645 #459AD4 #7F45D4
monochromatic
#81771E #B3A529 #D4C645 #DFD577 #EBE4A8

Accessibility & contrast

On white

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

On black

11.96
#D4C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C645
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C645#FFFFFF#000000##000000
##D4C6451.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c645;
/* rgb */ color: rgb(212, 198, 69);
/* oklch */ color: oklch(81.5% 0.146 103.1);
Tailwind
colors: {
  custom: {
    50: '#e5d780',
    500: '#d4c645',
    950: '#000000',
  },
}
SCSS
$custom: #d4c645;
$custom-light: #e5d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c645",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 54.126,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81503,
    "c": 0.14633,
    "h": 103.1
  },
  "luminance": 0.54815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C645

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

Preview Lab → · Contrast checker → · Palette generator →

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