#D1D155#D1D155

#D1D155 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.145 H 109.2°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D1D155
RGBrgb(209, 209, 85)
HSLhsl(60, 57%, 58%)
HSVhsv(60, 59%, 82%)
CMYKcmyk(0%, 0%, 59.3%, 18%)
CIE-LABlab(81.74, -15.68, 59.84)
CIE-LCHlch(81.74, 61.86, 104.68°)
OKLaboklab(83.71% -0.0477 0.1371)
OKLCHoklch(83.71% 0.145 109.2)
XYZxyz(50.7362, 59.8135, 17.4651)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D155 #5555D1
analogous
#D19355 #D1D155 #93D155
triadic
#D1D155 #55D1D1 #D155D1
tetradic
#D1D155 #55D193 #5555D1 #D15593
square
#D1D155 #55D193 #5555D1 #D15593
split-complementary
#D1D155 #5593D1 #9355D1
monochromatic
#878725 #B7B732 #D1D155 #DEDE85 #EBEBB5

Accessibility & contrast

On white

1.62
#D1D155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#D1D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D155
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D155#FFFFFF#000000##000000
##D1D1551.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C947
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#DFC5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d155;
/* rgb */ color: rgb(209, 209, 85);
/* oklch */ color: oklch(83.7% 0.145 109.2);
Tailwind
colors: {
  custom: {
    50: '#e2de8a',
    500: '#d1d155',
    950: '#000000',
  },
}
SCSS
$custom: #d1d155;
$custom-light: #e2de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d155",
  "rgb": {
    "r": 209,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 57.407,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83714,
    "c": 0.14518,
    "h": 109.2
  },
  "luminance": 0.59812
}

Semantic roles & 50–950 ramp

primary
#D1D155
secondary
#3C3C8E
accent
#47E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D155

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

Preview Lab → · Contrast checker → · Palette generator →

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