#D1D945#D1D945

#D1D945 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.165 H 112.5°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#D1D945
RGBrgb(209, 217, 69)
HSLhsl(63, 66%, 56%)
HSVhsv(63, 68%, 85%)
CMYKcmyk(3.7%, 0%, 68.2%, 14.9%)
CIE-LABlab(83.76, -20.60, 68.35)
CIE-LCHlch(83.76, 71.39, 106.77°)
OKLaboklab(85.3% -0.0631 0.1527)
OKLCHoklch(85.3% 0.165 112.5)
XYZxyz(52.1831, 63.6119, 15.1585)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D945 #4D45D9
analogous
#D99745 #D1D945 #87D945
triadic
#D1D945 #45D1D9 #D945D1
tetradic
#D1D945 #45D997 #4D45D9 #D94587
square
#D1D945 #45D997 #4D45D9 #D94587
split-complementary
#D1D945 #4587D9 #9745D9
monochromatic
#82881C #B3BB26 #D1D945 #DEE378 #EAEEAB

Accessibility & contrast

On white

1.53
#D1D945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#D1D945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D945
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D945#FFFFFF#000000##000000
##D1D9451.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d945;
/* rgb */ color: rgb(209, 217, 69);
/* oklch */ color: oklch(85.3% 0.165 112.5);
Tailwind
colors: {
  custom: {
    50: '#e3e481',
    500: '#d1d945',
    950: '#000000',
  },
}
SCSS
$custom: #d1d945;
$custom-light: #e3e481;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d945",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 69
  },
  "hsl": {
    "h": 63.243,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85295,
    "c": 0.16526,
    "h": 112.5
  },
  "luminance": 0.63611
}

Semantic roles & 50–950 ramp

primary
#D1D945
secondary
#39348E
accent
#3FE948
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D945

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

Preview Lab → · Contrast checker → · Palette generator →

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