#D3D771#D3D771

#D3D771 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.5% C 0.126 H 110.8°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#D3D771
RGBrgb(211, 215, 113)
HSLhsl(62, 56%, 64%)
HSVhsv(62, 47%, 84%)
CMYKcmyk(1.9%, 0%, 47.4%, 15.7%)
CIE-LABlab(83.78, -15.60, 49.48)
CIE-LCHlch(83.78, 51.88, 107.49°)
OKLaboklab(85.47% -0.0447 0.1177)
OKLCHoklch(85.47% 0.126 110.8)
XYZxyz(54.1461, 63.6431, 25.0516)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D771 #7571D7
analogous
#D7A871 #D3D771 #A0D771
triadic
#D3D771 #71D3D7 #D771D3
tetradic
#D3D771 #71D7A8 #7571D7 #D771A0
square
#D3D771 #71D7A8 #7571D7 #D771A0
split-complementary
#D3D771 #71A0D7 #A871D7
monochromatic
#9CA02D #C4CA41 #D3D771 #E2E4A1 #F1F2D0

Accessibility & contrast

On white

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

On black

13.73
#D3D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D771
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D771#FFFFFF#000000##000000
##D3D7711.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF68
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#DFCCBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d3d771;
/* rgb */ color: rgb(211, 215, 113);
/* oklch */ color: oklch(85.5% 0.126 110.8);
Tailwind
colors: {
  custom: {
    50: '#e2e39c',
    500: '#d3d771',
    950: '#000000',
  },
}
SCSS
$custom: #d3d771;
$custom-light: #e2e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d771",
  "rgb": {
    "r": 211,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 62.353,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85474,
    "c": 0.12589,
    "h": 110.8
  },
  "luminance": 0.63642
}

Semantic roles & 50–950 ramp

primary
#D3D771
secondary
#4B48A4
accent
#22C428
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D3D771

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

Preview Lab → · Contrast checker → · Palette generator →

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