#D1D558#D1D558

#D1D558 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.6% C 0.147 H 110.9°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#D1D558
RGBrgb(209, 213, 88)
HSLhsl(62, 60%, 59%)
HSVhsv(62, 59%, 84%)
CMYKcmyk(1.9%, 0%, 58.7%, 16.5%)
CIE-LABlab(82.83, -17.46, 59.75)
CIE-LCHlch(82.83, 62.25, 106.28°)
OKLaboklab(84.6% -0.0524 0.1373)
OKLCHoklch(84.6% 0.147 110.9)
XYZxyz(51.8516, 61.8496, 18.4374)
Luminance0.6185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D558 #5C58D5
analogous
#D59B58 #D1D558 #93D558
triadic
#D1D558 #58D1D5 #D558D1
tetradic
#D1D558 #58D59B #5C58D5 #D55893
square
#D1D558 #58D59B #5C58D5 #D55893
split-complementary
#D1D558 #5893D5 #9B58D5
monochromatic
#8B8F24 #BBC030 #D1D558 #DEE189 #ECEEBA

Accessibility & contrast

On white

1.57
#D1D558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#D1D558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D558
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D558#FFFFFF#000000##000000
##D1D5581.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4A
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#DEC9BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d558;
/* rgb */ color: rgb(209, 213, 88);
/* oklch */ color: oklch(84.6% 0.147 110.9);
Tailwind
colors: {
  custom: {
    50: '#e2e18c',
    500: '#d1d558',
    950: '#000000',
  },
}
SCSS
$custom: #d1d558;
$custom-light: #e2e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d558",
  "rgb": {
    "r": 209,
    "g": 213,
    "b": 88
  },
  "hsl": {
    "h": 61.92,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84598,
    "c": 0.14698,
    "h": 110.9
  },
  "luminance": 0.61848
}

Semantic roles & 50–950 ramp

primary
#D1D558
secondary
#403D94
accent
#45E34A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D558

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

Preview Lab → · Contrast checker → · Palette generator →

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