#D5C756#D5C756

#D5C756 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.134 H 102.3°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D5C756
RGBrgb(213, 199, 86)
HSLhsl(53, 60%, 59%)
HSVhsv(53, 60%, 84%)
CMYKcmyk(0%, 6.6%, 59.6%, 16.5%)
CIE-LABlab(79.42, -8.91, 56.96)
CIE-LCHlch(79.42, 57.65, 98.89°)
OKLaboklab(81.96% -0.0285 0.1311)
OKLCHoklch(81.96% 0.134 102.3)
XYZxyz(49.5455, 55.6668, 16.9372)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C756 #5664D5
analogous
#D58756 #D5C756 #A3D556
triadic
#D5C756 #56D5C7 #C756D5
tetradic
#D5C756 #56D587 #5664D5 #D556A3
square
#D5C756 #56D587 #5664D5 #D556A3
split-complementary
#D5C756 #56A3D5 #8756D5
monochromatic
#8D8223 #BEAF2F #D5C756 #E1D787 #EDE7B8

Accessibility & contrast

On white

1.73
#D5C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D5C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C756
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C756#FFFFFF#000000##000000
##D5C7561.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14A
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#E4BAAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c756;
/* rgb */ color: rgb(213, 199, 86);
/* oklch */ color: oklch(82.0% 0.134 102.3);
Tailwind
colors: {
  custom: {
    50: '#e5d78a',
    500: '#d5c756',
    950: '#000000',
  },
}
SCSS
$custom: #d5c756;
$custom-light: #e5d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c756",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 53.386,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81956,
    "c": 0.13412,
    "h": 102.3
  },
  "luminance": 0.55665
}

Semantic roles & 50–950 ramp

primary
#D5C756
secondary
#3C4693
accent
#56E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C756

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

Preview Lab → · Contrast checker → · Palette generator →

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