#D4D758#D4D758

#D4D758 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#D4D758
RGBrgb(212, 215, 88)
HSLhsl(61, 61%, 59%)
HSVhsv(61, 59%, 84%)
CMYKcmyk(1.4%, 0%, 59.1%, 15.7%)
CIE-LABlab(83.60, -17.22, 60.66)
CIE-LCHlch(83.60, 63.06, 105.85°)
OKLaboklab(85.27% -0.0519 0.1392)
OKLCHoklch(85.27% 0.149 110.4)
XYZxyz(53.2147, 63.3038, 18.6463)
Luminance0.6330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D758 #5B58D7
analogous
#D79A58 #D4D758 #95D758
triadic
#D4D758 #58D4D7 #D758D4
tetradic
#D4D758 #58D79A #5B58D7 #D75895
square
#D4D758 #58D79A #5B58D7 #D75895
split-complementary
#D4D758 #5895D7 #9A58D7
monochromatic
#8F9223 #C0C32F #D4D758 #E1E389 #EDEFBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D758#FFFFFF#000000##000000
##D4D7581.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)
#E7CE49
Deuteranopia (green-blind)
#E8D260
Tritanopia (blue-blind)
#E2CBBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d4d758;
/* rgb */ color: rgb(212, 215, 88);
/* oklch */ color: oklch(85.3% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#e4e38c',
    500: '#d4d758',
    950: '#000000',
  },
}
SCSS
$custom: #d4d758;
$custom-light: #e4e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d758",
  "rgb": {
    "r": 212,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 61.417,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85269,
    "c": 0.14855,
    "h": 110.4
  },
  "luminance": 0.63303
}

Semantic roles & 50–950 ramp

primary
#D4D758
secondary
#3E3C97
accent
#43E447
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D758

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

Preview Lab → · Contrast checker → · Palette generator →

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