#D3D671#D3D671

#D3D671 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.3% C 0.125 H 110.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#D3D671
RGBrgb(211, 214, 113)
HSLhsl(62, 55%, 64%)
HSVhsv(62, 47%, 84%)
CMYKcmyk(1.4%, 0%, 47.2%, 16.1%)
CIE-LABlab(83.51, -15.10, 49.16)
CIE-LCHlch(83.51, 51.43, 107.07°)
OKLaboklab(85.26% -0.0432 0.117)
OKLCHoklch(85.26% 0.125 110.3)
XYZxyz(53.8922, 63.1354, 24.9670)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D671 #7471D6
analogous
#D6A771 #D3D671 #A1D671
triadic
#D3D671 #71D3D6 #D671D3
tetradic
#D3D671 #71D6A7 #7471D6 #D671A1
square
#D3D671 #71D6A7 #7471D6 #D671A1
split-complementary
#D3D671 #71A1D6 #A771D6
monochromatic
#9B9F2E #C4C842 #D3D671 #E2E4A0 #F0F1D0

Accessibility & contrast

On white

1.54
#D3D671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#D3D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D671
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D671#FFFFFF#000000##000000
##D3D6711.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE68
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#DFCBBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d3d671;
/* rgb */ color: rgb(211, 214, 113);
/* oklch */ color: oklch(85.3% 0.125 110.3);
Tailwind
colors: {
  custom: {
    50: '#e2e29c',
    500: '#d3d671',
    950: '#000000',
  },
}
SCSS
$custom: #d3d671;
$custom-light: #e2e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d671",
  "rgb": {
    "r": 211,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 61.782,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85262,
    "c": 0.12473,
    "h": 110.3
  },
  "luminance": 0.63134
}

Semantic roles & 50–950 ramp

primary
#D3D671
secondary
#4B48A3
accent
#23C328
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D3D671

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

Preview Lab → · Contrast checker → · Palette generator →

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