#D1D757#D1D757

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

Color values

HEX#D1D757
RGBrgb(209, 215, 87)
HSLhsl(63, 62%, 59%)
HSVhsv(63, 60%, 84%)
CMYKcmyk(2.8%, 0%, 59.5%, 15.7%)
CIE-LABlab(83.36, -18.51, 60.76)
CIE-LCHlch(83.36, 63.52, 106.95°)
OKLaboklab(85.02% -0.0555 0.1393)
OKLCHoklch(85.02% 0.15 111.7)
XYZxyz(52.3166, 62.8455, 18.3894)
Luminance0.6284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D757 #5D57D7
analogous
#D79D57 #D1D757 #91D757
triadic
#D1D757 #57D1D7 #D757D1
tetradic
#D1D757 #57D79D #5D57D7 #D75791
square
#D1D757 #57D79D #5D57D7 #D75791
split-complementary
#D1D757 #5791D7 #9D57D7
monochromatic
#8C9123 #BCC22E #D1D757 #DFE388 #ECEFBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D757#FFFFFF#000000##000000
##D1D7571.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)
#E6CE48
Deuteranopia (green-blind)
#E7D15F
Tritanopia (blue-blind)
#DECBBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d757;
/* rgb */ color: rgb(209, 215, 87);
/* oklch */ color: oklch(85.0% 0.150 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e38b',
    500: '#d1d757',
    950: '#000000',
  },
}
SCSS
$custom: #d1d757;
$custom-light: #e2e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d757",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 62.813,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85017,
    "c": 0.14997,
    "h": 111.7
  },
  "luminance": 0.62844
}

Semantic roles & 50–950 ramp

primary
#D1D757
secondary
#403C96
accent
#43E54B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D757

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

Preview Lab → · Contrast checker → · Palette generator →

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