#D1D758#D1D758

#D1D758 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.0% C 0.149 H 111.7°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#D1D758
RGBrgb(209, 215, 88)
HSLhsl(63, 61%, 59%)
HSVhsv(63, 59%, 84%)
CMYKcmyk(2.8%, 0%, 59.1%, 15.7%)
CIE-LABlab(83.37, -18.44, 60.34)
CIE-LCHlch(83.37, 63.10, 107.00°)
OKLaboklab(85.03% -0.0552 0.1386)
OKLCHoklch(85.03% 0.149 111.7)
XYZxyz(52.3577, 62.8619, 18.6061)
Luminance0.6286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D758 #5E58D7
analogous
#D79E58 #D1D758 #91D758
triadic
#D1D758 #58D1D7 #D758D1
tetradic
#D1D758 #58D79E #5E58D7 #D75891
square
#D1D758 #58D79E #5E58D7 #D75891
split-complementary
#D1D758 #5891D7 #9E58D7
monochromatic
#8C9223 #BCC32F #D1D758 #DFE389 #ECEFBB

Accessibility & contrast

On white

1.55
#D1D758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#D1D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D758
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D758#FFFFFF#000000##000000
##D1D7581.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE49
Deuteranopia (green-blind)
#E7D160
Tritanopia (blue-blind)
#DECBBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d758;
/* rgb */ color: rgb(209, 215, 88);
/* oklch */ color: oklch(85.0% 0.149 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e38c',
    500: '#d1d758',
    950: '#000000',
  },
}
SCSS
$custom: #d1d758;
$custom-light: #e2e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d758",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 62.835,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85026,
    "c": 0.14915,
    "h": 111.7
  },
  "luminance": 0.62861
}

Semantic roles & 50–950 ramp

primary
#D1D758
secondary
#413C97
accent
#43E44B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D758

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

Preview Lab → · Contrast checker → · Palette generator →

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