#D4C649#D4C649

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

Color values

HEX#D4C649
RGBrgb(212, 198, 73)
HSLhsl(54, 62%, 56%)
HSVhsv(54, 66%, 83%)
CMYKcmyk(0%, 6.6%, 65.6%, 16.9%)
CIE-LABlab(78.97, -9.65, 61.99)
CIE-LCHlch(78.97, 62.73, 98.84°)
OKLaboklab(81.54% -0.032 0.1399)
OKLCHoklch(81.54% 0.143 102.9)
XYZxyz(48.5500, 54.8682, 14.3353)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C649 #4957D4
analogous
#D48049 #D4C649 #9CD449
triadic
#D4C649 #49D4C6 #C649D4
tetradic
#D4C649 #49D480 #4957D4 #D4499C
square
#D4C649 #49D480 #4957D4 #D4499C
split-complementary
#D4C649 #499CD4 #8049D4
monochromatic
#84791F #B5A72B #D4C649 #E0D67B #EBE5AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d4c649;
/* rgb */ color: rgb(212, 198, 73);
/* oklch */ color: oklch(81.5% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#e5d782',
    500: '#d4c649',
    950: '#000000',
  },
}
SCSS
$custom: #d4c649;
$custom-light: #e5d782;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c649",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 73
  },
  "hsl": {
    "h": 53.957,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81536,
    "c": 0.14348,
    "h": 102.9
  },
  "luminance": 0.54866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C649

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

Preview Lab → · Contrast checker → · Palette generator →

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