#D4C549#D4C549

#D4C549 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.143 H 102.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D4C549
RGBrgb(212, 197, 73)
HSLhsl(54, 62%, 56%)
HSVhsv(54, 66%, 83%)
CMYKcmyk(0%, 7.1%, 65.6%, 16.9%)
CIE-LABlab(78.70, -9.14, 61.71)
CIE-LCHlch(78.70, 62.39, 98.42°)
OKLaboklab(81.33% -0.0306 0.1393)
OKLCHoklch(81.33% 0.143 102.4)
XYZxyz(48.3222, 54.4126, 14.2594)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C549 #4958D4
analogous
#D47F49 #D4C549 #9DD449
triadic
#D4C549 #49D4C5 #C549D4
tetradic
#D4C549 #49D47F #4958D4 #D4499D
square
#D4C549 #49D47F #4958D4 #D4499D
split-complementary
#D4C549 #499DD4 #7F49D4
monochromatic
#84791F #B5A62B #D4C549 #E0D57B #EBE5AC

Accessibility & contrast

On white

1.77
#D4C549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#D4C549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C549
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C549#FFFFFF#000000##000000
##D4C5491.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF39
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#E3B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c549;
/* rgb */ color: rgb(212, 197, 73);
/* oklch */ color: oklch(81.3% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#e5d682',
    500: '#d4c549',
    950: '#000000',
  },
}
SCSS
$custom: #d4c549;
$custom-light: #e5d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c549",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 53.525,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81327,
    "c": 0.1426,
    "h": 102.4
  },
  "luminance": 0.54411
}

Semantic roles & 50–950 ramp

primary
#D4C549
secondary
#37408A
accent
#54E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C549

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

Preview Lab → · Contrast checker → · Palette generator →

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