#D5D591#D5D591

#D5D591 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.7% C 0.088 H 108.1°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D5D591
RGBrgb(213, 213, 145)
HSLhsl(60, 45%, 70%)
HSVhsv(60, 32%, 84%)
CMYKcmyk(0%, 0%, 31.9%, 16.5%)
CIE-LABlab(83.85, -10.36, 33.70)
CIE-LCHlch(83.85, 35.26, 107.09°)
OKLaboklab(85.71% -0.0274 0.0836)
OKLCHoklch(85.71% 0.088 108.1)
XYZxyz(56.3460, 63.7799, 36.1251)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D591 #9191D5
analogous
#D5B391 #D5D591 #B3D591
triadic
#D5D591 #91D5D5 #D591D5
tetradic
#D5D591 #91D5B3 #9191D5 #D591B3
square
#D5D591 #91D5B3 #9191D5 #D591B3
split-complementary
#D5D591 #91B3D5 #B391D5
monochromatic
#AAAA41 #C4C465 #D5D591 #E6E6BD #F7F7E9

Accessibility & contrast

On white

1.53
#D5D591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D5D591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D591
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D591#FFFFFF#000000##000000
##D5D5911.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D08C
Deuteranopia (green-blind)
#E1D294
Tritanopia (blue-blind)
#DECDC4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d591;
/* rgb */ color: rgb(213, 213, 145);
/* oklch */ color: oklch(85.7% 0.088 108.1);
Tailwind
colors: {
  custom: {
    50: '#e3e1b2',
    500: '#d5d591',
    950: '#000000',
  },
}
SCSS
$custom: #d5d591;
$custom-light: #e3e1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d591",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 145
  },
  "hsl": {
    "h": 60,
    "s": 44.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85714,
    "c": 0.08797,
    "h": 108.1
  },
  "luminance": 0.63779
}

Semantic roles & 50–950 ramp

primary
#D5D591
secondary
#5F5FAB
accent
#2EB82E
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151511
muted
#848481

Preview Lab

Preview with #D5D591

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

Preview Lab → · Contrast checker → · Palette generator →

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