#D9D85D#D9D85D

#D9D85D is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.9% C 0.145 H 108.7°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#D9D85D
RGBrgb(217, 216, 93)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 57%, 85%)
CMYKcmyk(0%, 0.5%, 57.1%, 14.9%)
CIE-LABlab(84.31, -15.32, 59.39)
CIE-LCHlch(84.31, 61.33, 104.47°)
OKLaboklab(85.94% -0.0463 0.137)
OKLCHoklch(85.94% 0.145 108.7)
XYZxyz(55.1485, 64.6553, 19.9285)
Luminance0.6465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D85D #5D5ED9
analogous
#D99A5D #D9D85D #9CD95D
triadic
#D9D85D #5DD9D8 #D85DD9
tetradic
#D9D85D #5DD99A #5D5ED9 #D95D9C
square
#D9D85D #5DD99A #5D5ED9 #D95D9C
split-complementary
#D9D85D #5D9CD9 #9A5DD9
monochromatic
#989724 #CAC82F #D9D85D #E5E48F #F0F0C0

Accessibility & contrast

On white

1.51
#D9D85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#D9D85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D85D
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D85D#FFFFFF#000000##000000
##D9D85D1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D050
Deuteranopia (green-blind)
#EAD464
Tritanopia (blue-blind)
#E7CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d85d;
/* rgb */ color: rgb(217, 216, 93);
/* oklch */ color: oklch(85.9% 0.145 108.7);
Tailwind
colors: {
  custom: {
    50: '#e7e38f',
    500: '#d9d85d',
    950: '#000000',
  },
}
SCSS
$custom: #d9d85d;
$custom-light: #e7e38f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d85d",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 93
  },
  "hsl": {
    "h": 59.516,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85941,
    "c": 0.14461,
    "h": 108.7
  },
  "luminance": 0.64654
}

Semantic roles & 50–950 ramp

primary
#D9D85D
secondary
#3E3F9C
accent
#1DCA1C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D85D

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

Preview Lab → · Contrast checker → · Palette generator →

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