#D3D87D#D3D87D

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

Color values

HEX#D3D87D
RGBrgb(211, 216, 125)
HSLhsl(63, 54%, 67%)
HSVhsv(63, 42%, 85%)
CMYKcmyk(2.3%, 0%, 42.1%, 15.3%)
CIE-LABlab(84.20, -14.91, 44.17)
CIE-LCHlch(84.20, 46.62, 108.65°)
OKLaboklab(85.85% -0.0416 0.1067)
OKLCHoklch(85.85% 0.115 111.3)
XYZxyz(55.1223, 64.4422, 28.9329)
Luminance0.6444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D87D #827DD8
analogous
#D8B07D #D3D87D #A6D87D
triadic
#D3D87D #7DD3D8 #D87DD3
tetradic
#D3D87D #7DD8B0 #827DD8 #D87DA6
square
#D3D87D #7DD8B0 #827DD8 #D87DA6
split-complementary
#D3D87D #7DA6D8 #B07DD8
monochromatic
#A2A832 #C3CA4E #D3D87D #E3E6AC #F3F4DB

Accessibility & contrast

On white

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

On black

13.89
#D3D87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D87D
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D87D#FFFFFF#000000##000000
##D3D87D1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3d87d;
/* rgb */ color: rgb(211, 216, 125);
/* oklch */ color: oklch(85.9% 0.115 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e4a4',
    500: '#d3d87d',
    950: '#000000',
  },
}
SCSS
$custom: #d3d87d;
$custom-light: #e2e4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d87d",
  "rgb": {
    "r": 211,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 63.297,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85854,
    "c": 0.11457,
    "h": 111.3
  },
  "luminance": 0.64441
}

Semantic roles & 50–950 ramp

primary
#D3D87D
secondary
#534EAC
accent
#24C12D
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D3D87D

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

Preview Lab → · Contrast checker → · Palette generator →

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