#D5C549#D5C549

#D5C549 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.143 H 101.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#D5C549
RGBrgb(213, 197, 73)
HSLhsl(53, 63%, 56%)
HSVhsv(53, 66%, 84%)
CMYKcmyk(0%, 7.5%, 65.7%, 16.5%)
CIE-LABlab(78.79, -8.71, 61.83)
CIE-LCHlch(78.79, 62.44, 98.02°)
OKLaboklab(81.42% -0.0294 0.1395)
OKLCHoklch(81.42% 0.143 101.9)
XYZxyz(48.6114, 54.5617, 14.2729)
Luminance0.5456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C549 #4959D5
analogous
#D57F49 #D5C549 #9FD549
triadic
#D5C549 #49D5C5 #C549D5
tetradic
#D5C549 #49D57F #4959D5 #D5499F
square
#D5C549 #49D57F #4959D5 #D5499F
split-complementary
#D5C549 #499FD5 #7F49D5
monochromatic
#85791F #B7A72A #D5C549 #E0D57B #ECE5AC

Accessibility & contrast

On white

1.76
#D5C549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#D5C549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C549
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C549#FFFFFF#000000##000000
##D5C5491.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c549;
/* rgb */ color: rgb(213, 197, 73);
/* oklch */ color: oklch(81.4% 0.143 101.9);
Tailwind
colors: {
  custom: {
    50: '#e5d682',
    500: '#d5c549',
    950: '#000000',
  },
}
SCSS
$custom: #d5c549;
$custom-light: #e5d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c549",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 53.143,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81416,
    "c": 0.14257,
    "h": 101.9
  },
  "luminance": 0.5456
}

Semantic roles & 50–950 ramp

primary
#D5C549
secondary
#37408C
accent
#55E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C549

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

Preview Lab → · Contrast checker → · Palette generator →

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