#D3D87F#D3D87F

#D3D87F is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 85.9% C 0.112 H 111.3°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D3D87F
RGBrgb(211, 216, 127)
HSLhsl(63, 53%, 67%)
HSVhsv(63, 41%, 85%)
CMYKcmyk(2.3%, 0%, 41.2%, 15.3%)
CIE-LABlab(84.22, -14.70, 43.22)
CIE-LCHlch(84.22, 45.65, 108.79°)
OKLaboklab(85.88% -0.0409 0.1047)
OKLCHoklch(85.88% 0.112 111.3)
XYZxyz(55.2513, 64.4939, 29.6125)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D87F #847FD8
analogous
#D8B17F #D3D87F #A6D87F
triadic
#D3D87F #7FD3D8 #D87FD3
tetradic
#D3D87F #7FD8B1 #847FD8 #D87FA6
square
#D3D87F #7FD8B1 #847FD8 #D87FA6
split-complementary
#D3D87F #7FA6D8 #B17FD8
monochromatic
#A2A934 #C3CA50 #D3D87F #E3E6AE #F3F5DD

Accessibility & contrast

On white

1.51
#D3D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D3D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D87F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D87F#FFFFFF#000000##000000
##D3D87F1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D178
Deuteranopia (green-blind)
#E5D383
Tritanopia (blue-blind)
#DECEC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d3d87f;
/* rgb */ color: rgb(211, 216, 127);
/* oklch */ color: oklch(85.9% 0.112 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e4a5',
    500: '#d3d87f',
    950: '#000000',
  },
}
SCSS
$custom: #d3d87f;
$custom-light: #e2e4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d87f",
  "rgb": {
    "r": 211,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 63.371,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85884,
    "c": 0.1124,
    "h": 111.3
  },
  "luminance": 0.64493
}

Semantic roles & 50–950 ramp

primary
#D3D87F
secondary
#544FAC
accent
#25C12E
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D3D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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