#D9D75F#D9D75F

#D9D75F is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.8% C 0.142 H 108.2°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D9D75F
RGBrgb(217, 215, 95)
HSLhsl(59, 62%, 61%)
HSVhsv(59, 56%, 85%)
CMYKcmyk(0%, 0.9%, 56.2%, 14.9%)
CIE-LABlab(84.06, -14.68, 58.23)
CIE-LCHlch(84.06, 60.05, 104.15°)
OKLaboklab(85.75% -0.0442 0.1348)
OKLCHoklch(85.75% 0.142 108.2)
XYZxyz(54.9828, 64.1803, 20.3160)
Luminance0.6418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D75F #5F61D9
analogous
#D99A5F #D9D75F #9ED95F
triadic
#D9D75F #5FD9D7 #D75FD9
tetradic
#D9D75F #5FD99A #5F61D9 #D95F9E
square
#D9D75F #5FD99A #5F61D9 #D95F9E
split-complementary
#D9D75F #5F9ED9 #9A5FD9
monochromatic
#999724 #CBC830 #D9D75F #E5E390 #F0F0C2

Accessibility & contrast

On white

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

On black

13.84
#D9D75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D75F
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D75F#FFFFFF#000000##000000
##D9D75F1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#E9D466
Tritanopia (blue-blind)
#E7CBBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d75f;
/* rgb */ color: rgb(217, 215, 95);
/* oklch */ color: oklch(85.8% 0.142 108.2);
Tailwind
colors: {
  custom: {
    50: '#e7e390',
    500: '#d9d75f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d75f;
$custom-light: #e7e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d75f",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 59.016,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8575,
    "c": 0.14185,
    "h": 108.2
  },
  "luminance": 0.64179
}

Semantic roles & 50–950 ramp

primary
#D9D75F
secondary
#3F409E
accent
#1FC91C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D75F

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

Preview Lab → · Contrast checker → · Palette generator →

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