#D9D939#D9D939

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

Color values

HEX#D9D939
RGBrgb(217, 217, 57)
HSLhsl(60, 68%, 54%)
HSVhsv(60, 74%, 85%)
CMYKcmyk(0%, 0%, 73.7%, 14.9%)
CIE-LABlab(84.32, -17.85, 73.23)
CIE-LCHlch(84.32, 75.37, 103.70°)
OKLaboklab(85.87% -0.057 0.1607)
OKLCHoklch(85.87% 0.171 109.5)
XYZxyz(54.1686, 64.6745, 13.5001)
Luminance0.6467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D939 #3939D9
analogous
#D98939 #D9D939 #89D939
triadic
#D9D939 #39D9D9 #D939D9
tetradic
#D9D939 #39D989 #3939D9 #D93989
square
#D9D939 #39D989 #3939D9 #D93989
split-complementary
#D9D939 #3989D9 #8939D9
monochromatic
#7F7F18 #B3B322 #D9D939 #E3E36C #EDEDA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D939#FFFFFF#000000##000000
##D9D9391.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)
#EBD014
Deuteranopia (green-blind)
#ECD546
Tritanopia (blue-blind)
#E8CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d939;
/* rgb */ color: rgb(217, 217, 57);
/* oklch */ color: oklch(85.9% 0.171 109.5);
Tailwind
colors: {
  custom: {
    50: '#e9e47b',
    500: '#d9d939',
    950: '#000000',
  },
}
SCSS
$custom: #d9d939;
$custom-light: #e9e47b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d939",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.85867,
    "c": 0.17053,
    "h": 109.5
  },
  "luminance": 0.64673
}

Semantic roles & 50–950 ramp

primary
#D9D939
secondary
#303086
accent
#3DEB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D939

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

Preview Lab → · Contrast checker → · Palette generator →

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