#D7C449#D7C449

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

Color values

HEX#D7C449
RGBrgb(215, 196, 73)
HSLhsl(52, 64%, 56%)
HSVhsv(52, 66%, 84%)
CMYKcmyk(0%, 8.8%, 66%, 15.7%)
CIE-LABlab(78.70, -7.36, 61.79)
CIE-LCHlch(78.70, 62.23, 96.79°)
OKLaboklab(81.39% -0.0257 0.1394)
OKLCHoklch(81.39% 0.142 100.4)
XYZxyz(48.9690, 54.4101, 14.2248)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C449 #495CD7
analogous
#D77D49 #D7C449 #A3D749
triadic
#D7C449 #49D7C4 #C449D7
tetradic
#D7C449 #49D77D #495CD7 #D749A3
square
#D7C449 #49D77D #495CD7 #D749A3
split-complementary
#D7C449 #49A3D7 #7D49D7
monochromatic
#887A1E #BAA729 #D7C449 #E2D47B #EDE5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C449#FFFFFF#000000##000000
##D7C4491.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)
#E7B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c449;
/* rgb */ color: rgb(215, 196, 73);
/* oklch */ color: oklch(81.4% 0.142 100.4);
Tailwind
colors: {
  custom: {
    50: '#e7d582',
    500: '#d7c449',
    950: '#000000',
  },
}
SCSS
$custom: #d7c449;
$custom-light: #e7d582;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c449",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 73
  },
  "hsl": {
    "h": 51.972,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81388,
    "c": 0.14171,
    "h": 100.4
  },
  "luminance": 0.54408
}

Semantic roles & 50–950 ramp

primary
#D7C449
secondary
#36428E
accent
#57E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C449

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

Preview Lab → · Contrast checker → · Palette generator →

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