#D9D758#D9D758

#D9D758 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.7% C 0.148 H 108.3°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#D9D758
RGBrgb(217, 215, 88)
HSLhsl(59, 63%, 60%)
HSVhsv(59, 59%, 85%)
CMYKcmyk(0%, 0.9%, 59.4%, 14.9%)
CIE-LABlab(84.00, -15.17, 61.21)
CIE-LCHlch(84.00, 63.06, 103.92°)
OKLaboklab(85.68% -0.0464 0.1402)
OKLCHoklch(85.68% 0.148 108.3)
XYZxyz(54.6788, 64.0587, 18.7149)
Luminance0.6406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D758 #585AD9
analogous
#D99758 #D9D758 #9AD958
triadic
#D9D758 #58D9D7 #D758D9
tetradic
#D9D758 #58D997 #585AD9 #D9589A
square
#D9D758 #58D997 #585AD9 #D9589A
split-complementary
#D9D758 #589AD9 #9758D9
monochromatic
#959322 #C7C42D #D9D758 #E4E38A #F0EFBC

Accessibility & contrast

On white

1.52
#D9D758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#D9D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D758
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D758#FFFFFF#000000##000000
##D9D7581.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF49
Deuteranopia (green-blind)
#E9D45F
Tritanopia (blue-blind)
#E7CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d758;
/* rgb */ color: rgb(217, 215, 88);
/* oklch */ color: oklch(85.7% 0.148 108.3);
Tailwind
colors: {
  custom: {
    50: '#e8e38c',
    500: '#d9d758',
    950: '#000000',
  },
}
SCSS
$custom: #d9d758;
$custom-light: #e8e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d758",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 59.07,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8568,
    "c": 0.14771,
    "h": 108.3
  },
  "luminance": 0.64057
}

Semantic roles & 50–950 ramp

primary
#D9D758
secondary
#3C3D9A
accent
#44E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D758

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

Preview Lab → · Contrast checker → · Palette generator →

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