#D4D858#D4D858

#D4D858 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.150 H 110.9°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D4D858
RGBrgb(212, 216, 88)
HSLhsl(62, 62%, 60%)
HSVhsv(62, 59%, 85%)
CMYKcmyk(1.9%, 0%, 59.3%, 15.3%)
CIE-LABlab(83.87, -17.71, 60.96)
CIE-LCHlch(83.87, 63.48, 106.20°)
OKLaboklab(85.48% -0.0533 0.1398)
OKLCHoklch(85.48% 0.15 110.9)
XYZxyz(53.4702, 63.8146, 18.7314)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D858 #5C58D8
analogous
#D89C58 #D4D858 #94D858
triadic
#D4D858 #58D4D8 #D858D4
tetradic
#D4D858 #58D89C #5C58D8 #D85894
square
#D4D858 #58D89C #5C58D8 #D85894
split-complementary
#D4D858 #5894D8 #9C58D8
monochromatic
#909322 #C0C52E #D4D858 #E1E48A #EEEFBB

Accessibility & contrast

On white

1.53
#D4D858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D4D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D858
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D858#FFFFFF#000000##000000
##D4D8581.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF49
Deuteranopia (green-blind)
#E8D360
Tritanopia (blue-blind)
#E1CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d858;
/* rgb */ color: rgb(212, 216, 88);
/* oklch */ color: oklch(85.5% 0.150 110.9);
Tailwind
colors: {
  custom: {
    50: '#e4e38c',
    500: '#d4d858',
    950: '#000000',
  },
}
SCSS
$custom: #d4d858;
$custom-light: #e4e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d858",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 61.875,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85482,
    "c": 0.14962,
    "h": 110.9
  },
  "luminance": 0.63813
}

Semantic roles & 50–950 ramp

primary
#D4D858
secondary
#3F3C98
accent
#43E548
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D858

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

Preview Lab → · Contrast checker → · Palette generator →

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