#D9D557#D9D557

#D9D557 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.2% C 0.146 H 107.4°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#D9D557
RGBrgb(217, 213, 87)
HSLhsl(58, 63%, 60%)
HSVhsv(58, 60%, 85%)
CMYKcmyk(0%, 1.8%, 59.9%, 14.9%)
CIE-LABlab(83.46, -14.25, 61.05)
CIE-LCHlch(83.46, 62.69, 103.14°)
OKLaboklab(85.25% -0.0439 0.1398)
OKLCHoklch(85.25% 0.146 107.4)
XYZxyz(54.1315, 63.0300, 18.3295)
Luminance0.6303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D557 #575BD9
analogous
#D99457 #D9D557 #9CD957
triadic
#D9D557 #57D9D5 #D557D9
tetradic
#D9D557 #57D994 #575BD9 #D9579C
square
#D9D557 #57D994 #575BD9 #D9579C
split-complementary
#D9D557 #579CD9 #9457D9
monochromatic
#949121 #C6C12D #D9D557 #E4E189 #F0EEBB

Accessibility & contrast

On white

1.54
#D9D557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#D9D557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D557
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D557#FFFFFF#000000##000000
##D9D5571.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD48
Deuteranopia (green-blind)
#E8D25E
Tritanopia (blue-blind)
#E8C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d557;
/* rgb */ color: rgb(217, 213, 87);
/* oklch */ color: oklch(85.2% 0.146 107.4);
Tailwind
colors: {
  custom: {
    50: '#e8e18b',
    500: '#d9d557',
    950: '#000000',
  },
}
SCSS
$custom: #d9d557;
$custom-light: #e8e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d557",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 58.154,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85248,
    "c": 0.14649,
    "h": 107.4
  },
  "luminance": 0.63028
}

Semantic roles & 50–950 ramp

primary
#D9D557
secondary
#3B3E99
accent
#47E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D557

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

Preview Lab → · Contrast checker → · Palette generator →

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