#D5D581#D5D581

#D5D581 is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.4% C 0.106 H 108.5°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D5D581
RGBrgb(213, 213, 129)
HSLhsl(60, 50%, 67%)
HSVhsv(60, 39%, 84%)
CMYKcmyk(0%, 0%, 39.4%, 16.5%)
CIE-LABlab(83.61, -12.20, 41.49)
CIE-LCHlch(83.61, 43.24, 106.39°)
OKLaboklab(85.44% -0.0337 0.1009)
OKLCHoklch(85.44% 0.106 108.5)
XYZxyz(55.1981, 63.3207, 30.0790)
Luminance0.6332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D581 #8181D5
analogous
#D5AB81 #D5D581 #ABD581
triadic
#D5D581 #81D5D5 #D581D5
tetradic
#D5D581 #81D5AB #8181D5 #D581AB
square
#D5D581 #81D5AB #8181D5 #D581AB
split-complementary
#D5D581 #81ABD5 #AB81D5
monochromatic
#A5A537 #C6C653 #D5D581 #E4E4AF #F4F4DD

Accessibility & contrast

On white

1.54
#D5D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#D5D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D581
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D581#FFFFFF#000000##000000
##D5D5811.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7B
Deuteranopia (green-blind)
#E3D285
Tritanopia (blue-blind)
#E0CBC0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d581;
/* rgb */ color: rgb(213, 213, 129);
/* oklch */ color: oklch(85.4% 0.106 108.5);
Tailwind
colors: {
  custom: {
    50: '#e3e1a7',
    500: '#d5d581',
    950: '#000000',
  },
}
SCSS
$custom: #d5d581;
$custom-light: #e3e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d581",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85444,
    "c": 0.10635,
    "h": 108.5
  },
  "luminance": 0.6332
}

Semantic roles & 50–950 ramp

primary
#D5D581
secondary
#5151A9
accent
#28BD28
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D5D581

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

Preview Lab → · Contrast checker → · Palette generator →

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