#D3D956#D3D956

#D3D956 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.153 H 111.7°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#D3D956
RGBrgb(211, 217, 86)
HSLhsl(63, 63%, 59%)
HSVhsv(63, 60%, 85%)
CMYKcmyk(2.8%, 0%, 60.4%, 14.9%)
CIE-LABlab(84.04, -18.75, 61.97)
CIE-LCHlch(84.04, 64.74, 106.83°)
OKLaboklab(85.6% -0.0563 0.1417)
OKLCHoklch(85.6% 0.153 111.7)
XYZxyz(53.3580, 64.1477, 18.3732)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D956 #5C56D9
analogous
#D99E56 #D3D956 #92D956
triadic
#D3D956 #56D3D9 #D956D3
tetradic
#D3D956 #56D99E #5C56D9 #D95692
square
#D3D956 #56D99E #5C56D9 #D95692
split-complementary
#D3D956 #5692D9 #9E56D9
monochromatic
#8E9321 #BEC52C #D3D956 #E0E488 #EDEFBA

Accessibility & contrast

On white

1.52
#D3D956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#D3D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D956
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D956#FFFFFF#000000##000000
##D3D9561.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D046
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#E0CDBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d3d956;
/* rgb */ color: rgb(211, 217, 86);
/* oklch */ color: oklch(85.6% 0.153 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e48b',
    500: '#d3d956',
    950: '#000000',
  },
}
SCSS
$custom: #d3d956;
$custom-light: #e3e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d956",
  "rgb": {
    "r": 211,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 62.748,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85596,
    "c": 0.15252,
    "h": 111.7
  },
  "luminance": 0.64146
}

Semantic roles & 50–950 ramp

primary
#D3D956
secondary
#3F3B98
accent
#41E649
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D956

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

Preview Lab → · Contrast checker → · Palette generator →

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