#D3D562#D3D562

#D3D562 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.9% C 0.138 H 109.9°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#D3D562
RGBrgb(211, 213, 98)
HSLhsl(61, 58%, 61%)
HSVhsv(61, 54%, 84%)
CMYKcmyk(0.9%, 0%, 54%, 16.5%)
CIE-LABlab(83.08, -15.89, 55.65)
CIE-LCHlch(83.08, 57.88, 105.94°)
OKLaboklab(84.87% -0.047 0.1297)
OKLCHoklch(84.87% 0.138 109.9)
XYZxyz(52.8641, 62.3205, 20.7972)
Luminance0.6232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D562 #6462D5
analogous
#D59D62 #D3D562 #99D562
triadic
#D3D562 #62D3D5 #D562D3
tetradic
#D3D562 #62D59D #6462D5 #D56299
square
#D3D562 #62D59D #6462D5 #D56299
split-complementary
#D3D562 #6299D5 #9D62D5
monochromatic
#939528 #C3C535 #D3D562 #E1E292 #EEEFC3

Accessibility & contrast

On white

1.56
#D3D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#D3D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D562
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D562#FFFFFF#000000##000000
##D3D5621.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E5D168
Tritanopia (blue-blind)
#E0C9BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d3d562;
/* rgb */ color: rgb(211, 213, 98);
/* oklch */ color: oklch(84.9% 0.138 109.9);
Tailwind
colors: {
  custom: {
    50: '#e3e192',
    500: '#d3d562',
    950: '#000000',
  },
}
SCSS
$custom: #d3d562;
$custom-light: #e3e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d562",
  "rgb": {
    "r": 211,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 61.043,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84866,
    "c": 0.13797,
    "h": 109.9
  },
  "luminance": 0.62319
}

Semantic roles & 50–950 ramp

primary
#D3D562
secondary
#43419A
accent
#20C523
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D3D562

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

Preview Lab → · Contrast checker → · Palette generator →

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