#D1D845#D1D845

#D1D845 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.164 H 112.1°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#D1D845
RGBrgb(209, 216, 69)
HSLhsl(63, 65%, 56%)
HSVhsv(63, 68%, 85%)
CMYKcmyk(3.2%, 0%, 68.1%, 15.3%)
CIE-LABlab(83.49, -20.11, 68.08)
CIE-LCHlch(83.49, 70.99, 106.45°)
OKLaboklab(85.08% -0.0617 0.1522)
OKLCHoklch(85.08% 0.164 112.1)
XYZxyz(51.9261, 63.0979, 15.0728)
Luminance0.6310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D845 #4C45D8
analogous
#D89545 #D1D845 #87D845
triadic
#D1D845 #45D1D8 #D845D1
tetradic
#D1D845 #45D895 #4C45D8 #D84587
square
#D1D845 #45D895 #4C45D8 #D84587
split-complementary
#D1D845 #4587D8 #9545D8
monochromatic
#81861C #B2B927 #D1D845 #DEE378 #EAEDAA

Accessibility & contrast

On white

1.54
#D1D845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#D1D845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D845
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D845#FFFFFF#000000##000000
##D1D8451.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2E
Deuteranopia (green-blind)
#E9D250
Tritanopia (blue-blind)
#DFCBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d845;
/* rgb */ color: rgb(209, 216, 69);
/* oklch */ color: oklch(85.1% 0.164 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e381',
    500: '#d1d845',
    950: '#000000',
  },
}
SCSS
$custom: #d1d845;
$custom-light: #e2e381;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d845",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 62.857,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85079,
    "c": 0.16421,
    "h": 112.1
  },
  "luminance": 0.63097
}

Semantic roles & 50–950 ramp

primary
#D1D845
secondary
#39348D
accent
#40E848
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D845

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

Preview Lab → · Contrast checker → · Palette generator →

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