#D3D862#D3D862

#D3D862 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.141 H 111.3°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#D3D862
RGBrgb(211, 216, 98)
HSLhsl(63, 60%, 62%)
HSVhsv(63, 55%, 85%)
CMYKcmyk(2.3%, 0%, 54.6%, 15.3%)
CIE-LABlab(83.88, -17.38, 56.57)
CIE-LCHlch(83.88, 59.18, 107.08°)
OKLaboklab(85.51% -0.0512 0.1317)
OKLCHoklch(85.51% 0.141 111.3)
XYZxyz(53.6257, 63.8436, 21.0511)
Luminance0.6384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D862 #6762D8
analogous
#D8A262 #D3D862 #98D862
triadic
#D3D862 #62D3D8 #D862D3
tetradic
#D3D862 #62D8A2 #6762D8 #D86298
square
#D3D862 #62D8A2 #6762D8 #D86298
split-complementary
#D3D862 #6298D8 #A262D8
monochromatic
#959926 #C4CA32 #D3D862 #E1E493 #EEF0C4

Accessibility & contrast

On white

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

On black

13.77
#D3D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D862
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D862#FFFFFF#000000##000000
##D3D8621.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#E7D369
Tritanopia (blue-blind)
#E0CCBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d3d862;
/* rgb */ color: rgb(211, 216, 98);
/* oklch */ color: oklch(85.5% 0.141 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e392',
    500: '#d3d862',
    950: '#000000',
  },
}
SCSS
$custom: #d3d862;
$custom-light: #e3e392;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d862",
  "rgb": {
    "r": 211,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 62.542,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85505,
    "c": 0.14128,
    "h": 111.3
  },
  "luminance": 0.63842
}

Semantic roles & 50–950 ramp

primary
#D3D862
secondary
#44409E
accent
#1EC825
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D3D862

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

Preview Lab → · Contrast checker → · Palette generator →

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