#D5D593#D5D593

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

Color values

HEX#D5D593
RGBrgb(213, 213, 147)
HSLhsl(60, 44%, 71%)
HSVhsv(60, 31%, 84%)
CMYKcmyk(0%, 0%, 31%, 16.5%)
CIE-LABlab(83.88, -10.12, 32.72)
CIE-LCHlch(83.88, 34.25, 107.18°)
OKLaboklab(85.75% -0.0266 0.0814)
OKLCHoklch(85.75% 0.086 108.1)
XYZxyz(56.5016, 63.8422, 36.9444)
Luminance0.6384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D593 #9393D5
analogous
#D5B493 #D5D593 #B4D593
triadic
#D5D593 #93D5D5 #D593D5
tetradic
#D5D593 #93D5B4 #9393D5 #D593B4
square
#D5D593 #93D5B4 #9393D5 #D593B4
split-complementary
#D5D593 #93B4D5 #B493D5
monochromatic
#ABAB43 #C4C467 #D5D593 #E6E6BF #F6F6E9

Accessibility & contrast

On white

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

On black

13.77
#D5D593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D593
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D593#FFFFFF#000000##000000
##D5D5931.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d593;
/* rgb */ color: rgb(213, 213, 147);
/* oklch */ color: oklch(85.8% 0.086 108.1);
Tailwind
colors: {
  custom: {
    50: '#e2e1b3',
    500: '#d5d593',
    950: '#000000',
  },
}
SCSS
$custom: #d5d593;
$custom-light: #e2e1b3;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d593",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 44,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8575,
    "c": 0.0856,
    "h": 108.1
  },
  "luminance": 0.63841
}

Semantic roles & 50–950 ramp

primary
#D5D593
secondary
#6161AB
accent
#2EB72E
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5D593

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

Preview Lab → · Contrast checker → · Palette generator →

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