#D3D875#D3D875

#D3D875 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.123 H 111.3°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#D3D875
RGBrgb(211, 216, 117)
HSLhsl(63, 56%, 65%)
HSVhsv(63, 46%, 85%)
CMYKcmyk(2.3%, 0%, 45.8%, 15.3%)
CIE-LABlab(84.09, -15.71, 47.94)
CIE-LCHlch(84.09, 50.45, 108.15°)
OKLaboklab(85.74% -0.0446 0.1146)
OKLCHoklch(85.74% 0.123 111.3)
XYZxyz(54.6316, 64.2460, 26.3490)
Luminance0.6424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D875 #7A75D8
analogous
#D8AB75 #D3D875 #A2D875
triadic
#D3D875 #75D3D8 #D875D3
tetradic
#D3D875 #75D8AB #7A75D8 #D875A2
square
#D3D875 #75D8AB #7A75D8 #D875A2
split-complementary
#D3D875 #75A2D8 #AB75D8
monochromatic
#9EA42E #C4CB45 #D3D875 #E2E5A5 #F1F3D4

Accessibility & contrast

On white

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

On black

13.85
#D3D875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D875
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D875#FFFFFF#000000##000000
##D3D8751.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06D
Deuteranopia (green-blind)
#E6D37A
Tritanopia (blue-blind)
#DECEC1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d3d875;
/* rgb */ color: rgb(211, 216, 117);
/* oklch */ color: oklch(85.7% 0.123 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e39f',
    500: '#d3d875',
    950: '#000000',
  },
}
SCSS
$custom: #d3d875;
$custom-light: #e2e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d875",
  "rgb": {
    "r": 211,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 63.03,
    "s": 55.932,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8574,
    "c": 0.12299,
    "h": 111.3
  },
  "luminance": 0.64245
}

Semantic roles & 50–950 ramp

primary
#D3D875
secondary
#4E49A8
accent
#22C32A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D3D875

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

Preview Lab → · Contrast checker → · Palette generator →

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