#D9D757#D9D757

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

Color values

HEX#D9D757
RGBrgb(217, 215, 87)
HSLhsl(59, 63%, 60%)
HSVhsv(59, 60%, 85%)
CMYKcmyk(0%, 0.9%, 59.9%, 14.9%)
CIE-LABlab(83.99, -15.24, 61.62)
CIE-LCHlch(83.99, 63.48, 103.89°)
OKLaboklab(85.67% -0.0467 0.141)
OKLCHoklch(85.67% 0.149 108.3)
XYZxyz(54.6377, 64.0423, 18.4982)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D757 #5759D9
analogous
#D99657 #D9D757 #9AD957
triadic
#D9D757 #57D9D7 #D757D9
tetradic
#D9D757 #57D996 #5759D9 #D9579A
square
#D9D757 #57D996 #5759D9 #D9579A
split-complementary
#D9D757 #579AD9 #9657D9
monochromatic
#949221 #C6C42D #D9D757 #E4E389 #F0EFBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D757#FFFFFF#000000##000000
##D9D7571.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)
#E7CF48
Deuteranopia (green-blind)
#E9D45F
Tritanopia (blue-blind)
#E7CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d757;
/* rgb */ color: rgb(217, 215, 87);
/* oklch */ color: oklch(85.7% 0.149 108.3);
Tailwind
colors: {
  custom: {
    50: '#e8e38c',
    500: '#d9d757',
    950: '#000000',
  },
}
SCSS
$custom: #d9d757;
$custom-light: #e8e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d757",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 59.077,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8567,
    "c": 0.14852,
    "h": 108.3
  },
  "luminance": 0.64041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D757

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

Preview Lab → · Contrast checker → · Palette generator →

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