#D4D757#D4D757

#D4D757 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.3% C 0.149 H 110.4°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D4D757
RGBrgb(212, 215, 87)
HSLhsl(61, 62%, 59%)
HSVhsv(61, 60%, 84%)
CMYKcmyk(1.4%, 0%, 59.5%, 15.7%)
CIE-LABlab(83.59, -17.29, 61.08)
CIE-LCHlch(83.59, 63.48, 105.80°)
OKLaboklab(85.26% -0.0522 0.14)
OKLCHoklch(85.26% 0.149 110.4)
XYZxyz(53.1736, 63.2874, 18.4296)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D757 #5A57D7
analogous
#D79A57 #D4D757 #94D757
triadic
#D4D757 #57D4D7 #D757D4
tetradic
#D4D757 #57D79A #5A57D7 #D75794
square
#D4D757 #57D79A #5A57D7 #D75794
split-complementary
#D4D757 #5794D7 #9A57D7
monochromatic
#8E9123 #BFC22E #D4D757 #E1E388 #EDEFBA

Accessibility & contrast

On white

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

On black

13.66
#D4D757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D757
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D757#FFFFFF#000000##000000
##D4D7571.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE48
Deuteranopia (green-blind)
#E8D25F
Tritanopia (blue-blind)
#E2CBBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d4d757;
/* rgb */ color: rgb(212, 215, 87);
/* oklch */ color: oklch(85.3% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#e4e38b',
    500: '#d4d757',
    950: '#000000',
  },
}
SCSS
$custom: #d4d757;
$custom-light: #e4e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d757",
  "rgb": {
    "r": 212,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 61.406,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85259,
    "c": 0.14936,
    "h": 110.4
  },
  "luminance": 0.63286
}

Semantic roles & 50–950 ramp

primary
#D4D757
secondary
#3E3C96
accent
#43E547
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D757

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

Preview Lab → · Contrast checker → · Palette generator →

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