#D4C648#D4C648

#D4C648 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.144 H 102.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D4C648
RGBrgb(212, 198, 72)
HSLhsl(54, 62%, 56%)
HSVhsv(54, 66%, 83%)
CMYKcmyk(0%, 6.6%, 66%, 16.9%)
CIE-LABlab(78.96, -9.70, 62.39)
CIE-LCHlch(78.96, 63.14, 98.84°)
OKLaboklab(81.53% -0.0323 0.1406)
OKLCHoklch(81.53% 0.144 102.9)
XYZxyz(48.5171, 54.8550, 14.1621)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C648 #4856D4
analogous
#D48048 #D4C648 #9CD448
triadic
#D4C648 #48D4C6 #C648D4
tetradic
#D4C648 #48D480 #4856D4 #D4489C
square
#D4C648 #48D480 #4856D4 #D4489C
split-complementary
#D4C648 #489CD4 #8048D4
monochromatic
#83791F #B4A72A #D4C648 #E0D57A #EBE5AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C648#FFFFFF#000000##000000
##D4C6481.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)
#D7C037
Deuteranopia (green-blind)
#DCC650
Tritanopia (blue-blind)
#E3B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c648;
/* rgb */ color: rgb(212, 198, 72);
/* oklch */ color: oklch(81.5% 0.144 102.9);
Tailwind
colors: {
  custom: {
    50: '#e5d781',
    500: '#d4c648',
    950: '#000000',
  },
}
SCSS
$custom: #d4c648;
$custom-light: #e5d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c648",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 72
  },
  "hsl": {
    "h": 54,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81528,
    "c": 0.14421,
    "h": 102.9
  },
  "luminance": 0.54853
}

Semantic roles & 50–950 ramp

primary
#D4C648
secondary
#363F8A
accent
#53E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C648

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

Preview Lab → · Contrast checker → · Palette generator →

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