#D1D255#D1D255

#D1D255 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.9% C 0.146 H 109.6°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D1D255
RGBrgb(209, 210, 85)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 60%, 82%)
CMYKcmyk(0.5%, 0%, 59.5%, 17.6%)
CIE-LABlab(82.00, -16.18, 60.14)
CIE-LCHlch(82.00, 62.27, 105.06°)
OKLaboklab(83.93% -0.0491 0.1378)
OKLCHoklch(83.93% 0.146 109.6)
XYZxyz(50.9823, 60.3057, 17.5471)
Luminance0.6030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D255 #5655D2
analogous
#D29455 #D1D255 #92D255
triadic
#D1D255 #55D1D2 #D255D1
tetradic
#D1D255 #55D294 #5655D2 #D25592
square
#D1D255 #55D294 #5655D2 #D25592
split-complementary
#D1D255 #5592D2 #9455D2
monochromatic
#888824 #B8B931 #D1D255 #DEDF85 #EBECB6

Accessibility & contrast

On white

1.61
#D1D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#D1D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D255
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D255#FFFFFF#000000##000000
##D1D2551.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA46
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#DFC6B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d1d255;
/* rgb */ color: rgb(209, 210, 85);
/* oklch */ color: oklch(83.9% 0.146 109.6);
Tailwind
colors: {
  custom: {
    50: '#e2df8a',
    500: '#d1d255',
    950: '#000000',
  },
}
SCSS
$custom: #d1d255;
$custom-light: #e2df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d255",
  "rgb": {
    "r": 209,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 60.48,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83928,
    "c": 0.14623,
    "h": 109.6
  },
  "luminance": 0.60304
}

Semantic roles & 50–950 ramp

primary
#D1D255
secondary
#3D3C8F
accent
#46E148
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D255

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

Preview Lab → · Contrast checker → · Palette generator →

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