#D9D159#D9D159

#D9D159 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.4% C 0.141 H 105.5°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D9D159
RGBrgb(217, 209, 89)
HSLhsl(56, 63%, 60%)
HSVhsv(56, 59%, 85%)
CMYKcmyk(0%, 3.7%, 59%, 14.9%)
CIE-LABlab(82.42, -12.11, 59.05)
CIE-LCHlch(82.42, 60.27, 101.59°)
OKLaboklab(84.43% -0.0376 0.1358)
OKLCHoklch(84.43% 0.141 105.5)
XYZxyz(53.2207, 61.0757, 18.4346)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D159 #5961D9
analogous
#D99159 #D9D159 #A1D959
triadic
#D9D159 #59D9D1 #D159D9
tetradic
#D9D159 #59D991 #5961D9 #D959A1
square
#D9D159 #59D991 #5961D9 #D959A1
split-complementary
#D9D159 #59A1D9 #9159D9
monochromatic
#958E22 #C7BE2E #D9D159 #E4DF8B #F0EDBD

Accessibility & contrast

On white

1.59
#D9D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#D9D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D159
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D159#FFFFFF#000000##000000
##D9D1591.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4C
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#E8C4B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d159;
/* rgb */ color: rgb(217, 209, 89);
/* oklch */ color: oklch(84.4% 0.141 105.5);
Tailwind
colors: {
  custom: {
    50: '#e8de8c',
    500: '#d9d159',
    950: '#000000',
  },
}
SCSS
$custom: #d9d159;
$custom-light: #e8de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d159",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 56.25,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.84427,
    "c": 0.14088,
    "h": 105.5
  },
  "luminance": 0.61074
}

Semantic roles & 50–950 ramp

primary
#D9D159
secondary
#3C429A
accent
#4CE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D159

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

Preview Lab → · Contrast checker → · Palette generator →

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