#D5D87F#D5D87F

#D5D87F is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.0% C 0.112 H 110.2°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#D5D87F
RGBrgb(213, 216, 127)
HSLhsl(62, 53%, 67%)
HSVhsv(62, 41%, 85%)
CMYKcmyk(1.4%, 0%, 41.2%, 15.3%)
CIE-LABlab(84.38, -13.92, 43.44)
CIE-LCHlch(84.38, 45.62, 107.76°)
OKLaboklab(86.04% -0.0387 0.1052)
OKLCHoklch(86.04% 0.112 110.2)
XYZxyz(55.8280, 64.7912, 29.6396)
Luminance0.6479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D87F #827FD8
analogous
#D8AE7F #D5D87F #A9D87F
triadic
#D5D87F #7FD5D8 #D87FD5
tetradic
#D5D87F #7FD8AE #827FD8 #D87FA9
square
#D5D87F #7FD8AE #827FD8 #D87FA9
split-complementary
#D5D87F #7FA9D8 #AE7FD8
monochromatic
#A5A934 #C6CA50 #D5D87F #E4E6AE #F4F5DD

Accessibility & contrast

On white

1.50
#D5D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#D5D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D87F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D87F#FFFFFF#000000##000000
##D5D87F1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D178
Deuteranopia (green-blind)
#E5D483
Tritanopia (blue-blind)
#E0CEC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d87f;
/* rgb */ color: rgb(213, 216, 127);
/* oklch */ color: oklch(86.0% 0.112 110.2);
Tailwind
colors: {
  custom: {
    50: '#e3e3a5',
    500: '#d5d87f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d87f;
$custom-light: #e3e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d87f",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 62.022,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86044,
    "c": 0.1121,
    "h": 110.2
  },
  "luminance": 0.6479
}

Semantic roles & 50–950 ramp

primary
#D5D87F
secondary
#524FAC
accent
#25C12A
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D5D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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