#D1D545#D1D545

#D1D545 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.4% C 0.161 H 111.0°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D1D545
RGBrgb(209, 213, 69)
HSLhsl(62, 63%, 55%)
HSVhsv(62, 68%, 84%)
CMYKcmyk(1.9%, 0%, 67.6%, 16.5%)
CIE-LABlab(82.69, -18.64, 67.27)
CIE-LCHlch(82.69, 69.81, 105.48°)
OKLaboklab(84.43% -0.0576 0.1505)
OKLCHoklch(84.43% 0.161 111)
XYZxyz(51.1646, 61.5748, 14.8190)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D545 #4945D5
analogous
#D59145 #D1D545 #89D545
triadic
#D1D545 #45D1D5 #D545D1
tetradic
#D1D545 #45D591 #4945D5 #D54589
square
#D1D545 #45D591 #4945D5 #D54589
split-complementary
#D1D545 #4589D5 #9145D5
monochromatic
#7F821D #B0B429 #D1D545 #DDE077 #EAECA9

Accessibility & contrast

On white

1.58
#D1D545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D1D545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D545
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D545#FFFFFF#000000##000000
##D1D5451.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC2F
Deuteranopia (green-blind)
#E6D04F
Tritanopia (blue-blind)
#DFC8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d545;
/* rgb */ color: rgb(209, 213, 69);
/* oklch */ color: oklch(84.4% 0.161 111.0);
Tailwind
colors: {
  custom: {
    50: '#e2e181',
    500: '#d1d545',
    950: '#000000',
  },
}
SCSS
$custom: #d1d545;
$custom-light: #e2e181;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d545",
  "rgb": {
    "r": 209,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 61.667,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84434,
    "c": 0.16112,
    "h": 111
  },
  "luminance": 0.61573
}

Semantic roles & 50–950 ramp

primary
#D1D545
secondary
#373589
accent
#42E646
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D545

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

Preview Lab → · Contrast checker → · Palette generator →

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