#D3D845#D3D845

#D3D845 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.2% C 0.164 H 111.3°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#D3D845
RGBrgb(211, 216, 69)
HSLhsl(62, 65%, 56%)
HSVhsv(62, 68%, 85%)
CMYKcmyk(2.3%, 0%, 68.1%, 15.3%)
CIE-LABlab(83.65, -19.28, 68.29)
CIE-LCHlch(83.65, 70.96, 105.77°)
OKLaboklab(85.24% -0.0595 0.1525)
OKLCHoklch(85.24% 0.164 111.3)
XYZxyz(52.4957, 63.3916, 15.0995)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D845 #4A45D8
analogous
#D89345 #D3D845 #89D845
triadic
#D3D845 #45D3D8 #D845D3
tetradic
#D3D845 #45D893 #4A45D8 #D84589
square
#D3D845 #45D893 #4A45D8 #D84589
split-complementary
#D3D845 #4589D8 #9345D8
monochromatic
#83861C #B4B927 #D3D845 #DFE378 #EBEDAA

Accessibility & contrast

On white

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

On black

13.68
#D3D845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D845
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D845#FFFFFF#000000##000000
##D3D8451.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2E
Deuteranopia (green-blind)
#E9D250
Tritanopia (blue-blind)
#E1CBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d3d845;
/* rgb */ color: rgb(211, 216, 69);
/* oklch */ color: oklch(85.2% 0.164 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e381',
    500: '#d3d845',
    950: '#000000',
  },
}
SCSS
$custom: #d3d845;
$custom-light: #e4e381;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d845",
  "rgb": {
    "r": 211,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 62.041,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8524,
    "c": 0.16374,
    "h": 111.3
  },
  "luminance": 0.6339
}

Semantic roles & 50–950 ramp

primary
#D3D845
secondary
#37348D
accent
#40E845
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3D845

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

Preview Lab → · Contrast checker → · Palette generator →

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