#D3D945#D3D945

#D3D945 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.165 H 111.7°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D3D945
RGBrgb(211, 217, 69)
HSLhsl(62, 66%, 56%)
HSVhsv(62, 68%, 85%)
CMYKcmyk(2.8%, 0%, 68.2%, 14.9%)
CIE-LABlab(83.92, -19.77, 68.55)
CIE-LCHlch(83.92, 71.35, 106.09°)
OKLaboklab(85.46% -0.0609 0.1531)
OKLCHoklch(85.46% 0.165 111.7)
XYZxyz(52.7526, 63.9055, 15.1852)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D945 #4B45D9
analogous
#D99545 #D3D945 #89D945
triadic
#D3D945 #45D3D9 #D945D3
tetradic
#D3D945 #45D995 #4B45D9 #D94589
square
#D3D945 #45D995 #4B45D9 #D94589
split-complementary
#D3D945 #4589D9 #9545D9
monochromatic
#83881C #B5BB26 #D3D945 #DFE378 #EBEEAB

Accessibility & contrast

On white

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

On black

13.78
#D3D945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D945
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D945#FFFFFF#000000##000000
##D3D9451.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2D
Deuteranopia (green-blind)
#EAD350
Tritanopia (blue-blind)
#E1CCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d3d945;
/* rgb */ color: rgb(211, 217, 69);
/* oklch */ color: oklch(85.5% 0.165 111.7);
Tailwind
colors: {
  custom: {
    50: '#e4e481',
    500: '#d3d945',
    950: '#000000',
  },
}
SCSS
$custom: #d3d945;
$custom-light: #e4e481;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d945",
  "rgb": {
    "r": 211,
    "g": 217,
    "b": 69
  },
  "hsl": {
    "h": 62.432,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85455,
    "c": 0.16478,
    "h": 111.7
  },
  "luminance": 0.63904
}

Semantic roles & 50–950 ramp

primary
#D3D945
secondary
#38348E
accent
#3FE946
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3D945

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

Preview Lab → · Contrast checker → · Palette generator →

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