#D5C649#D5C649

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

Color values

HEX#D5C649
RGBrgb(213, 198, 73)
HSLhsl(54, 63%, 56%)
HSVhsv(54, 66%, 84%)
CMYKcmyk(0%, 7%, 65.7%, 16.5%)
CIE-LABlab(79.05, -9.22, 62.10)
CIE-LCHlch(79.05, 62.79, 98.45°)
OKLaboklab(81.63% -0.0309 0.1401)
OKLCHoklch(81.63% 0.143 102.4)
XYZxyz(48.8392, 55.0173, 14.3489)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C649 #4958D5
analogous
#D58049 #D5C649 #9ED549
triadic
#D5C649 #49D5C6 #C649D5
tetradic
#D5C649 #49D580 #4958D5 #D5499E
square
#D5C649 #49D580 #4958D5 #D5499E
split-complementary
#D5C649 #499ED5 #8049D5
monochromatic
#857A1F #B7A82A #D5C649 #E0D67B #ECE5AC

Accessibility & contrast

On white

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

On black

12.00
#D5C649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C649
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C649#FFFFFF#000000##000000
##D5C6491.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C039
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#E5B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c649;
/* rgb */ color: rgb(213, 198, 73);
/* oklch */ color: oklch(81.6% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#e5d782',
    500: '#d5c649',
    950: '#000000',
  },
}
SCSS
$custom: #d5c649;
$custom-light: #e5d782;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c649",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 73
  },
  "hsl": {
    "h": 53.571,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81625,
    "c": 0.14345,
    "h": 102.4
  },
  "luminance": 0.55015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C649

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

Preview Lab → · Contrast checker → · Palette generator →

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