#D9D84F#D9D84F

#D9D84F is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.8% C 0.156 H 108.9°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D9D84F
RGBrgb(217, 216, 79)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 64%, 85%)
CMYKcmyk(0%, 0.5%, 63.6%, 14.9%)
CIE-LABlab(84.19, -16.24, 65.14)
CIE-LCHlch(84.19, 67.13, 104.00°)
OKLaboklab(85.81% -0.0503 0.1473)
OKLCHoklch(85.81% 0.156 108.9)
XYZxyz(54.5842, 64.4295, 16.9564)
Luminance0.6443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D84F #4F50D9
analogous
#D9934F #D9D84F #95D94F
triadic
#D9D84F #4FD9D8 #D84FD9
tetradic
#D9D84F #4FD993 #4F50D9 #D94F95
square
#D9D84F #4FD993 #4F50D9 #D94F95
split-complementary
#D9D84F #4F95D9 #934FD9
monochromatic
#8F8E1F #C1C02A #D9D84F #E4E381 #EFEEB4

Accessibility & contrast

On white

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

On black

13.89
#D9D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D84F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D84F#FFFFFF#000000##000000
##D9D84F1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3D
Deuteranopia (green-blind)
#EBD458
Tritanopia (blue-blind)
#E8CBBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d84f;
/* rgb */ color: rgb(217, 216, 79);
/* oklch */ color: oklch(85.8% 0.156 108.9);
Tailwind
colors: {
  custom: {
    50: '#e8e387',
    500: '#d9d84f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d84f;
$custom-light: #e8e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d84f",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 59.565,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8581,
    "c": 0.15566,
    "h": 108.9
  },
  "luminance": 0.64428
}

Semantic roles & 50–950 ramp

primary
#D9D84F
secondary
#383994
accent
#42E740
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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