#D1D45D#D1D45D

#D1D45D is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.4% C 0.142 H 110.4°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#D1D45D
RGBrgb(209, 212, 93)
HSLhsl(62, 58%, 60%)
HSVhsv(62, 56%, 83%)
CMYKcmyk(1.4%, 0%, 56.1%, 16.9%)
CIE-LABlab(82.61, -16.60, 57.32)
CIE-LCHlch(82.61, 59.67, 106.15°)
OKLaboklab(84.44% -0.0494 0.1328)
OKLCHoklch(84.44% 0.142 110.4)
XYZxyz(51.8151, 61.4338, 19.4822)
Luminance0.6143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D45D #605DD4
analogous
#D49C5D #D1D45D #95D45D
triadic
#D1D45D #5DD1D4 #D45DD1
tetradic
#D1D45D #5DD49C #605DD4 #D45D95
square
#D1D45D #5DD49C #605DD4 #D45D95
split-complementary
#D1D45D #5D95D4 #9C5DD4
monochromatic
#8E9026 #BDC133 #D1D45D #DFE18D #ECEEBE

Accessibility & contrast

On white

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

On black

13.29
#D1D45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D45D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D45D#FFFFFF#000000##000000
##D1D45D1.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC50
Deuteranopia (green-blind)
#E4CF64
Tritanopia (blue-blind)
#DEC8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d45d;
/* rgb */ color: rgb(209, 212, 93);
/* oklch */ color: oklch(84.4% 0.142 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e18f',
    500: '#d1d45d',
    950: '#000000',
  },
}
SCSS
$custom: #d1d45d;
$custom-light: #e2e18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d45d",
  "rgb": {
    "r": 209,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 61.513,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84435,
    "c": 0.14165,
    "h": 110.4
  },
  "luminance": 0.61433
}

Semantic roles & 50–950 ramp

primary
#D1D45D
secondary
#413F96
accent
#47E14A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1D45D

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

Preview Lab → · Contrast checker → · Palette generator →

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