#D9D94F#D9D94F

#D9D94F is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.0% C 0.157 H 109.3°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#D9D94F
RGBrgb(217, 217, 79)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 64%, 85%)
CMYKcmyk(0%, 0%, 63.6%, 14.9%)
CIE-LABlab(84.45, -16.74, 65.41)
CIE-LCHlch(84.45, 67.52, 104.35°)
OKLaboklab(86.02% -0.0517 0.1479)
OKLCHoklch(86.02% 0.157 109.3)
XYZxyz(54.8412, 64.9435, 17.0421)
Luminance0.6494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D94F #4F4FD9
analogous
#D9944F #D9D94F #94D94F
triadic
#D9D94F #4FD9D9 #D94FD9
tetradic
#D9D94F #4FD994 #4F4FD9 #D94F94
square
#D9D94F #4FD994 #4F4FD9 #D94F94
split-complementary
#D9D94F #4F94D9 #944FD9
monochromatic
#8F8F1F #C1C12A #D9D94F #E4E481 #EFEFB4

Accessibility & contrast

On white

1.50
#D9D94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#D9D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D94F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D94F#FFFFFF#000000##000000
##D9D94F1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03D
Deuteranopia (green-blind)
#EBD558
Tritanopia (blue-blind)
#E8CCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d94f;
/* rgb */ color: rgb(217, 217, 79);
/* oklch */ color: oklch(86.0% 0.157 109.3);
Tailwind
colors: {
  custom: {
    50: '#e8e487',
    500: '#d9d94f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d94f;
$custom-light: #e8e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d94f",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.86022,
    "c": 0.15667,
    "h": 109.3
  },
  "luminance": 0.64942
}

Semantic roles & 50–950 ramp

primary
#D9D94F
secondary
#383894
accent
#40E740
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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