#D7C549#D7C549

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

Color values

HEX#D7C549
RGBrgb(215, 197, 73)
HSLhsl(52, 64%, 56%)
HSVhsv(52, 66%, 84%)
CMYKcmyk(0%, 8.4%, 66%, 15.7%)
CIE-LABlab(78.96, -7.87, 62.07)
CIE-LCHlch(78.96, 62.56, 97.23°)
OKLaboklab(81.6% -0.0271 0.1399)
OKLCHoklch(81.6% 0.143 101)
XYZxyz(49.1953, 54.8627, 14.3003)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C549 #495BD7
analogous
#D77E49 #D7C549 #A2D749
triadic
#D7C549 #49D7C5 #C549D7
tetradic
#D7C549 #49D77E #495BD7 #D749A2
square
#D7C549 #49D77E #495BD7 #D749A2
split-complementary
#D7C549 #49A2D7 #7E49D7
monochromatic
#887A1E #BAA829 #D7C549 #E2D57B #EDE5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C549#FFFFFF#000000##000000
##D7C5491.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)
#D7BF39
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#E7B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c549;
/* rgb */ color: rgb(215, 197, 73);
/* oklch */ color: oklch(81.6% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#e7d682',
    500: '#d7c549',
    950: '#000000',
  },
}
SCSS
$custom: #d7c549;
$custom-light: #e7d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c549",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 52.394,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81595,
    "c": 0.14255,
    "h": 101
  },
  "luminance": 0.54861
}

Semantic roles & 50–950 ramp

primary
#D7C549
secondary
#36418E
accent
#56E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C549

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

Preview Lab → · Contrast checker → · Palette generator →

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