#D9D761#D9D761

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

Color values

HEX#D9D761
RGBrgb(217, 215, 97)
HSLhsl(59, 61%, 62%)
HSVhsv(59, 55%, 85%)
CMYKcmyk(0%, 0.9%, 55.3%, 14.9%)
CIE-LABlab(84.08, -14.53, 57.36)
CIE-LCHlch(84.08, 59.17, 104.21°)
OKLaboklab(85.77% -0.0436 0.1332)
OKLCHoklch(85.77% 0.14 108.1)
XYZxyz(55.0749, 64.2172, 20.8009)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D761 #6163D9
analogous
#D99B61 #D9D761 #9FD961
triadic
#D9D761 #61D9D7 #D761D9
tetradic
#D9D761 #61D99B #6163D9 #D9619F
square
#D9D761 #61D99B #6163D9 #D9619F
split-complementary
#D9D761 #619FD9 #9B61D9
monochromatic
#9A9825 #CCC931 #D9D761 #E5E392 #F1F0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D761#FFFFFF#000000##000000
##D9D7611.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)
#E7CF55
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#E7CBBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d761;
/* rgb */ color: rgb(217, 215, 97);
/* oklch */ color: oklch(85.8% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#e7e392',
    500: '#d9d761',
    950: '#000000',
  },
}
SCSS
$custom: #d9d761;
$custom-light: #e7e392;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d761",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 97
  },
  "hsl": {
    "h": 59,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85772,
    "c": 0.1401,
    "h": 108.1
  },
  "luminance": 0.64216
}

Semantic roles & 50–950 ramp

primary
#D9D761
secondary
#3F419F
accent
#1FC91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D761

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

Preview Lab → · Contrast checker → · Palette generator →

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