#D1D45E#D1D45E

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

Color values

HEX#D1D45E
RGBrgb(209, 212, 94)
HSLhsl(62, 58%, 60%)
HSVhsv(62, 56%, 83%)
CMYKcmyk(1.4%, 0%, 55.7%, 16.9%)
CIE-LABlab(82.62, -16.52, 56.89)
CIE-LCHlch(82.62, 59.24, 106.19°)
OKLaboklab(84.45% -0.0491 0.1319)
OKLCHoklch(84.45% 0.141 110.4)
XYZxyz(51.8597, 61.4516, 19.7170)
Luminance0.6145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D45E #615ED4
analogous
#D49C5E #D1D45E #96D45E
triadic
#D1D45E #5ED1D4 #D45ED1
tetradic
#D1D45E #5ED49C #615ED4 #D45E96
square
#D1D45E #5ED49C #615ED4 #D45E96
split-complementary
#D1D45E #5E96D4 #9C5ED4
monochromatic
#8E9127 #BEC134 #D1D45E #DFE18E #EDEEBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D45E#FFFFFF#000000##000000
##D1D45E1.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)
#E3CC52
Deuteranopia (green-blind)
#E4CF65
Tritanopia (blue-blind)
#DEC8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d45e;
/* rgb */ color: rgb(209, 212, 94);
/* oklch */ color: oklch(84.4% 0.141 110.4);
Tailwind
colors: {
  custom: {
    50: '#e1e190',
    500: '#d1d45e',
    950: '#000000',
  },
}
SCSS
$custom: #d1d45e;
$custom-light: #e1e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d45e",
  "rgb": {
    "r": 209,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 61.525,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.84446,
    "c": 0.14078,
    "h": 110.4
  },
  "luminance": 0.6145
}

Semantic roles & 50–950 ramp

primary
#D1D45E
secondary
#424096
accent
#47E14B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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