#D5C855#D5C855

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

Color values

HEX#D5C855
RGBrgb(213, 200, 85)
HSLhsl(54, 60%, 58%)
HSVhsv(54, 60%, 84%)
CMYKcmyk(0%, 6.1%, 60.1%, 16.5%)
CIE-LABlab(79.68, -9.49, 57.68)
CIE-LCHlch(79.68, 58.46, 99.34°)
OKLaboklab(82.16% -0.0303 0.1325)
OKLCHoklch(82.16% 0.136 102.9)
XYZxyz(49.7363, 56.1124, 16.8035)
Luminance0.5611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C855 #5562D5
analogous
#D58855 #D5C855 #A2D555
triadic
#D5C855 #55D5C8 #C855D5
tetradic
#D5C855 #55D588 #5562D5 #D555A2
square
#D5C855 #55D588 #5562D5 #D555A2
split-complementary
#D5C855 #55A2D5 #8855D5
monochromatic
#8D8223 #BEAF2F #D5C855 #E1D886 #EDE8B7

Accessibility & contrast

On white

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

On black

12.22
#D5C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C855
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C855#FFFFFF#000000##000000
##D5C8551.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c855;
/* rgb */ color: rgb(213, 200, 85);
/* oklch */ color: oklch(82.2% 0.136 102.9);
Tailwind
colors: {
  custom: {
    50: '#e5d889',
    500: '#d5c855',
    950: '#000000',
  },
}
SCSS
$custom: #d5c855;
$custom-light: #e5d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c855",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 53.906,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82155,
    "c": 0.13587,
    "h": 102.9
  },
  "luminance": 0.56111
}

Semantic roles & 50–950 ramp

primary
#D5C855
secondary
#3C4493
accent
#54E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C855

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

Preview Lab → · Contrast checker → · Palette generator →

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