#D5C447#D5C447

#D5C447 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.143 H 101.5°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#D5C447
RGBrgb(213, 196, 71)
HSLhsl(53, 63%, 56%)
HSVhsv(53, 67%, 84%)
CMYKcmyk(0%, 8%, 66.7%, 16.5%)
CIE-LABlab(78.51, -8.32, 62.36)
CIE-LCHlch(78.51, 62.91, 97.60°)
OKLaboklab(81.19% -0.0285 0.1403)
OKLCHoklch(81.19% 0.143 101.5)
XYZxyz(48.3199, 54.0830, 13.8539)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C447 #4758D5
analogous
#D57D47 #D5C447 #9FD547
triadic
#D5C447 #47D5C4 #C447D5
tetradic
#D5C447 #47D57D #4758D5 #D5479F
square
#D5C447 #47D57D #4758D5 #D5479F
split-complementary
#D5C447 #479FD5 #7D47D5
monochromatic
#84771E #B5A529 #D5C447 #E0D479 #ECE4AB

Accessibility & contrast

On white

1.78
#D5C447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#D5C447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C447
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C447#FFFFFF#000000##000000
##D5C4471.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE36
Deuteranopia (green-blind)
#DBC54E
Tritanopia (blue-blind)
#E5B7AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c447;
/* rgb */ color: rgb(213, 196, 71);
/* oklch */ color: oklch(81.2% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#e5d581',
    500: '#d5c447',
    950: '#000000',
  },
}
SCSS
$custom: #d5c447;
$custom-light: #e5d581;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c447",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 71
  },
  "hsl": {
    "h": 52.817,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8119,
    "c": 0.14316,
    "h": 101.5
  },
  "luminance": 0.54081
}

Semantic roles & 50–950 ramp

primary
#D5C447
secondary
#36408A
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C447

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

Preview Lab → · Contrast checker → · Palette generator →

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