#D4C448#D4C448

#D4C448 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.142 H 101.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D4C448
RGBrgb(212, 196, 72)
HSLhsl(53, 62%, 56%)
HSVhsv(53, 66%, 83%)
CMYKcmyk(0%, 7.5%, 66%, 16.9%)
CIE-LABlab(78.43, -8.68, 61.84)
CIE-LCHlch(78.43, 62.45, 97.99°)
OKLaboklab(81.11% -0.0294 0.1394)
OKLCHoklch(81.11% 0.142 101.9)
XYZxyz(48.0630, 53.9468, 14.0107)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C448 #4858D4
analogous
#D47E48 #D4C448 #9ED448
triadic
#D4C448 #48D4C4 #C448D4
tetradic
#D4C448 #48D47E #4858D4 #D4489E
square
#D4C448 #48D47E #4858D4 #D4489E
split-complementary
#D4C448 #489ED4 #7E48D4
monochromatic
#83771F #B4A52A #D4C448 #E0D47A #EBE4AB

Accessibility & contrast

On white

1.78
#D4C448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D4C448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C448
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C448#FFFFFF#000000##000000
##D4C4481.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE38
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#E4B7AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c448;
/* rgb */ color: rgb(212, 196, 72);
/* oklch */ color: oklch(81.1% 0.142 101.9);
Tailwind
colors: {
  custom: {
    50: '#e5d581',
    500: '#d4c448',
    950: '#000000',
  },
}
SCSS
$custom: #d4c448;
$custom-light: #e5d581;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c448",
  "rgb": {
    "r": 212,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 53.143,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81109,
    "c": 0.14246,
    "h": 101.9
  },
  "luminance": 0.53945
}

Semantic roles & 50–950 ramp

primary
#D4C448
secondary
#36408A
accent
#55E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C448

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

Preview Lab → · Contrast checker → · Palette generator →

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