#D4D557#D4D557

#D4D557 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.8% C 0.147 H 109.6°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D4D557
RGBrgb(212, 213, 87)
HSLhsl(60, 60%, 59%)
HSVhsv(60, 59%, 84%)
CMYKcmyk(0.5%, 0%, 59.2%, 16.5%)
CIE-LABlab(83.06, -16.30, 60.50)
CIE-LCHlch(83.06, 62.66, 105.08°)
OKLaboklab(84.83% -0.0494 0.1387)
OKLCHoklch(84.83% 0.147 109.6)
XYZxyz(52.6675, 62.2750, 18.2609)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D557 #5857D5
analogous
#D59757 #D4D557 #95D557
triadic
#D4D557 #57D4D5 #D557D4
tetradic
#D4D557 #57D597 #5857D5 #D55795
square
#D4D557 #57D597 #5857D5 #D55795
split-complementary
#D4D557 #5795D5 #9757D5
monochromatic
#8D8E24 #BEBF30 #D4D557 #E1E188 #EDEDB9

Accessibility & contrast

On white

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

On black

13.45
#D4D557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D557
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D557#FFFFFF#000000##000000
##D4D5571.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD48
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#E2C9BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d4d557;
/* rgb */ color: rgb(212, 213, 87);
/* oklch */ color: oklch(84.8% 0.147 109.6);
Tailwind
colors: {
  custom: {
    50: '#e4e18b',
    500: '#d4d557',
    950: '#000000',
  },
}
SCSS
$custom: #d4d557;
$custom-light: #e4e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d557",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 60.476,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84833,
    "c": 0.14725,
    "h": 109.6
  },
  "luminance": 0.62274
}

Semantic roles & 50–950 ramp

primary
#D4D557
secondary
#3D3C94
accent
#45E346
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D557

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

Preview Lab → · Contrast checker → · Palette generator →

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