#D1D577#D1D577

#D1D577 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.0% C 0.118 H 110.8°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D1D577
RGBrgb(209, 213, 119)
HSLhsl(63, 53%, 65%)
HSVhsv(63, 44%, 84%)
CMYKcmyk(1.9%, 0%, 44.1%, 16.5%)
CIE-LABlab(83.17, -14.81, 45.80)
CIE-LCHlch(83.17, 48.14, 107.92°)
OKLaboklab(84.97% -0.0418 0.11)
OKLCHoklch(84.97% 0.118 110.8)
XYZxyz(53.4194, 62.4767, 26.6943)
Luminance0.6248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D577 #7B77D5
analogous
#D5AA77 #D1D577 #A2D577
triadic
#D1D577 #77D1D5 #D577D1
tetradic
#D1D577 #77D5AA #7B77D5 #D577A2
square
#D1D577 #77D5AA #7B77D5 #D577A2
split-complementary
#D1D577 #77A2D5 #AA77D5
monochromatic
#9BA031 #C1C748 #D1D577 #E1E3A6 #F1F2D5

Accessibility & contrast

On white

1.56
#D1D577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D1D577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D577
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D577#FFFFFF#000000##000000
##D1D5771.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE6F
Deuteranopia (green-blind)
#E3D17B
Tritanopia (blue-blind)
#DCCBBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d577;
/* rgb */ color: rgb(209, 213, 119);
/* oklch */ color: oklch(85.0% 0.118 110.8);
Tailwind
colors: {
  custom: {
    50: '#e1e1a0',
    500: '#d1d577',
    950: '#000000',
  },
}
SCSS
$custom: #d1d577;
$custom-light: #e1e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d577",
  "rgb": {
    "r": 209,
    "g": 213,
    "b": 119
  },
  "hsl": {
    "h": 62.553,
    "s": 52.809,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84971,
    "c": 0.11769,
    "h": 110.8
  },
  "luminance": 0.62476
}

Semantic roles & 50–950 ramp

primary
#D1D577
secondary
#4F4CA4
accent
#25C02C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D1D577

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

Preview Lab → · Contrast checker → · Palette generator →

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