#D1D045#D1D045

#D1D045 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.156 H 109.0°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D1D045
RGBrgb(209, 208, 69)
HSLhsl(60, 60%, 55%)
HSVhsv(60, 67%, 82%)
CMYKcmyk(0%, 0.5%, 67%, 18%)
CIE-LABlab(81.35, -16.16, 65.92)
CIE-LCHlch(81.35, 67.88, 103.78°)
OKLaboklab(83.36% -0.0507 0.1476)
OKLCHoklch(83.36% 0.156 109)
XYZxyz(49.9263, 59.0982, 14.4062)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D045 #4546D1
analogous
#D18A45 #D1D045 #8CD145
triadic
#D1D045 #45D1D0 #D045D1
tetradic
#D1D045 #45D18A #4546D1 #D1458C
square
#D1D045 #45D18A #4546D1 #D1458C
split-complementary
#D1D045 #458CD1 #8A45D1
monochromatic
#7D7C1F #AEAD2B #D1D045 #DDDC76 #E9E9A7

Accessibility & contrast

On white

1.64
#D1D045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#D1D045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D045
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D045#FFFFFF#000000##000000
##D1D0451.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C830
Deuteranopia (green-blind)
#E2CC4F
Tritanopia (blue-blind)
#DFC3B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1d045;
/* rgb */ color: rgb(209, 208, 69);
/* oklch */ color: oklch(83.4% 0.156 109.0);
Tailwind
colors: {
  custom: {
    50: '#e2de80',
    500: '#d1d045',
    950: '#000000',
  },
}
SCSS
$custom: #d1d045;
$custom-light: #e2de80;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d045",
  "rgb": {
    "r": 209,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 59.571,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83362,
    "c": 0.15608,
    "h": 109
  },
  "luminance": 0.59097
}

Semantic roles & 50–950 ramp

primary
#D1D045
secondary
#363684
accent
#45E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D045

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

Preview Lab → · Contrast checker → · Palette generator →

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