#D4C949#D4C949

#D4C949 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.146 H 104.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D4C949
RGBrgb(212, 201, 73)
HSLhsl(55, 62%, 56%)
HSVhsv(55, 66%, 83%)
CMYKcmyk(0%, 5.2%, 65.6%, 16.9%)
CIE-LABlab(79.76, -11.17, 62.81)
CIE-LCHlch(79.76, 63.80, 100.08°)
OKLaboklab(82.17% -0.0363 0.1416)
OKLCHoklch(82.17% 0.146 104.4)
XYZxyz(49.2425, 56.2532, 14.5661)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C949 #4954D4
analogous
#D48349 #D4C949 #99D449
triadic
#D4C949 #49D4C9 #C949D4
tetradic
#D4C949 #49D483 #4954D4 #D44999
square
#D4C949 #49D483 #4954D4 #D44999
split-complementary
#D4C949 #4999D4 #8349D4
monochromatic
#847C1F #B5AA2B #D4C949 #E0D87B #EBE6AC

Accessibility & contrast

On white

1.71
#D4C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D4C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C949
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C949#FFFFFF#000000##000000
##D4C9491.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DEC851
Tritanopia (blue-blind)
#E3BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4c949;
/* rgb */ color: rgb(212, 201, 73);
/* oklch */ color: oklch(82.2% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#e4d982',
    500: '#d4c949',
    950: '#000000',
  },
}
SCSS
$custom: #d4c949;
$custom-light: #e4d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c949",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 55.252,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82166,
    "c": 0.14619,
    "h": 104.4
  },
  "luminance": 0.56251
}

Semantic roles & 50–950 ramp

primary
#D4C949
secondary
#373D8A
accent
#50E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C949

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

Preview Lab → · Contrast checker → · Palette generator →

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