#D1D745#D1D745

#D1D745 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.163 H 111.7°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D1D745
RGBrgb(209, 215, 69)
HSLhsl(62, 65%, 56%)
HSVhsv(62, 68%, 84%)
CMYKcmyk(2.8%, 0%, 67.9%, 15.7%)
CIE-LABlab(83.22, -19.62, 67.81)
CIE-LCHlch(83.22, 70.59, 106.14°)
OKLaboklab(84.86% -0.0604 0.1516)
OKLCHoklch(84.86% 0.163 111.7)
XYZxyz(51.6707, 62.5871, 14.9877)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D745 #4B45D7
analogous
#D79445 #D1D745 #88D745
triadic
#D1D745 #45D1D7 #D745D1
tetradic
#D1D745 #45D794 #4B45D7 #D74588
square
#D1D745 #45D794 #4B45D7 #D74588
split-complementary
#D1D745 #4588D7 #9445D7
monochromatic
#81851D #B1B727 #D1D745 #DDE277 #EAEDAA

Accessibility & contrast

On white

1.55
#D1D745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#D1D745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D745
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D745#FFFFFF#000000##000000
##D1D7451.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD2E
Deuteranopia (green-blind)
#E8D150
Tritanopia (blue-blind)
#DFCABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d745;
/* rgb */ color: rgb(209, 215, 69);
/* oklch */ color: oklch(84.9% 0.163 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e381',
    500: '#d1d745',
    950: '#000000',
  },
}
SCSS
$custom: #d1d745;
$custom-light: #e2e381;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d745",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 69
  },
  "hsl": {
    "h": 62.466,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84864,
    "c": 0.16317,
    "h": 111.7
  },
  "luminance": 0.62586
}

Semantic roles & 50–950 ramp

primary
#D1D745
secondary
#38358C
accent
#40E847
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D745

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

Preview Lab → · Contrast checker → · Palette generator →

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