#D5C856#D5C856

#D5C856 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.2% C 0.135 H 102.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#D5C856
RGBrgb(213, 200, 86)
HSLhsl(54, 60%, 59%)
HSVhsv(54, 60%, 84%)
CMYKcmyk(0%, 6.1%, 59.6%, 16.5%)
CIE-LABlab(79.69, -9.42, 57.25)
CIE-LCHlch(79.69, 58.02, 99.34°)
OKLaboklab(82.17% -0.03 0.1317)
OKLCHoklch(82.17% 0.135 102.8)
XYZxyz(49.7764, 56.1284, 17.0142)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C856 #5663D5
analogous
#D58856 #D5C856 #A2D556
triadic
#D5C856 #56D5C8 #C856D5
tetradic
#D5C856 #56D588 #5663D5 #D556A2
square
#D5C856 #56D588 #5663D5 #D556A2
split-complementary
#D5C856 #56A2D5 #8856D5
monochromatic
#8D8323 #BEB02F #D5C856 #E1D887 #EDE8B8

Accessibility & contrast

On white

1.72
#D5C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#D5C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C856
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C856#FFFFFF#000000##000000
##D5C8561.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C249
Deuteranopia (green-blind)
#DDC85C
Tritanopia (blue-blind)
#E4BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c856;
/* rgb */ color: rgb(213, 200, 86);
/* oklch */ color: oklch(82.2% 0.135 102.8);
Tailwind
colors: {
  custom: {
    50: '#e5d88a',
    500: '#d5c856',
    950: '#000000',
  },
}
SCSS
$custom: #d5c856;
$custom-light: #e5d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c856",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 53.858,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82165,
    "c": 0.13504,
    "h": 102.8
  },
  "luminance": 0.56127
}

Semantic roles & 50–950 ramp

primary
#D5C856
secondary
#3C4593
accent
#55E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C856

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

Preview Lab → · Contrast checker → · Palette generator →

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