#D9D339#D9D339

#D9D339 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.6% C 0.165 H 107.2°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#D9D339
RGBrgb(217, 211, 57)
HSLhsl(58, 68%, 54%)
HSVhsv(58, 74%, 85%)
CMYKcmyk(0%, 2.8%, 73.7%, 14.9%)
CIE-LABlab(82.72, -14.88, 71.74)
CIE-LCHlch(82.72, 73.27, 101.72°)
OKLaboklab(84.59% -0.0487 0.1576)
OKLCHoklch(84.59% 0.165 107.2)
XYZxyz(52.6502, 61.6375, 12.9939)
Luminance0.6164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D339 #393FD9
analogous
#D98339 #D9D339 #8FD939
triadic
#D9D339 #39D9D3 #D339D9
tetradic
#D9D339 #39D983 #393FD9 #D9398F
square
#D9D339 #39D983 #393FD9 #D9398F
split-complementary
#D9D339 #398FD9 #8339D9
monochromatic
#7F7B18 #B3AD22 #D9D339 #E3DE6C #EDEAA0

Accessibility & contrast

On white

1.58
#D9D339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#D9D339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D339
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D339#FFFFFF#000000##000000
##D9D3391.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB18
Deuteranopia (green-blind)
#E8D145
Tritanopia (blue-blind)
#E9C5B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d339;
/* rgb */ color: rgb(217, 211, 57);
/* oklch */ color: oklch(84.6% 0.165 107.2);
Tailwind
colors: {
  custom: {
    50: '#e9e07b',
    500: '#d9d339',
    950: '#000000',
  },
}
SCSS
$custom: #d9d339;
$custom-light: #e9e07b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d339",
  "rgb": {
    "r": 217,
    "g": 211,
    "b": 57
  },
  "hsl": {
    "h": 57.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.84593,
    "c": 0.16492,
    "h": 107.2
  },
  "luminance": 0.61636
}

Semantic roles & 50–950 ramp

primary
#D9D339
secondary
#303386
accent
#44EB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D339

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

Preview Lab → · Contrast checker → · Palette generator →

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