#D1D645#D1D645

#D1D645 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.6% C 0.162 H 111.3°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D1D645
RGBrgb(209, 214, 69)
HSLhsl(62, 64%, 55%)
HSVhsv(62, 68%, 84%)
CMYKcmyk(2.3%, 0%, 67.8%, 16.1%)
CIE-LABlab(82.96, -19.13, 67.54)
CIE-LCHlch(82.96, 70.20, 105.81°)
OKLaboklab(84.65% -0.059 0.151)
OKLCHoklch(84.65% 0.162 111.3)
XYZxyz(51.4169, 62.0794, 14.9031)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D645 #4A45D6
analogous
#D69245 #D1D645 #88D645
triadic
#D1D645 #45D1D6 #D645D1
tetradic
#D1D645 #45D692 #4A45D6 #D64588
square
#D1D645 #45D692 #4A45D6 #D64588
split-complementary
#D1D645 #4588D6 #9245D6
monochromatic
#80841D #B1B628 #D1D645 #DDE177 #EAECA9

Accessibility & contrast

On white

1.57
#D1D645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D1D645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D645
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D645#FFFFFF#000000##000000
##D1D6451.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD2E
Deuteranopia (green-blind)
#E7D04F
Tritanopia (blue-blind)
#DFC9B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d645;
/* rgb */ color: rgb(209, 214, 69);
/* oklch */ color: oklch(84.6% 0.162 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e281',
    500: '#d1d645',
    950: '#000000',
  },
}
SCSS
$custom: #d1d645;
$custom-light: #e2e281;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d645",
  "rgb": {
    "r": 209,
    "g": 214,
    "b": 69
  },
  "hsl": {
    "h": 62.069,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84649,
    "c": 0.16215,
    "h": 111.3
  },
  "luminance": 0.62078
}

Semantic roles & 50–950 ramp

primary
#D1D645
secondary
#38358A
accent
#41E747
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D645

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

Preview Lab → · Contrast checker → · Palette generator →

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