#D9D059#D9D059

#D9D059 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.2% C 0.140 H 105.0°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D9D059
RGBrgb(217, 208, 89)
HSLhsl(56, 63%, 60%)
HSVhsv(56, 59%, 85%)
CMYKcmyk(0%, 4.1%, 59%, 14.9%)
CIE-LABlab(82.16, -11.60, 58.76)
CIE-LCHlch(82.16, 59.89, 101.17°)
OKLaboklab(84.22% -0.0361 0.1352)
OKLCHoklch(84.22% 0.14 105)
XYZxyz(52.9761, 60.5865, 18.3531)
Luminance0.6058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D059 #5962D9
analogous
#D99059 #D9D059 #A2D959
triadic
#D9D059 #59D9D0 #D059D9
tetradic
#D9D059 #59D990 #5962D9 #D959A2
square
#D9D059 #59D990 #5962D9 #D959A2
split-complementary
#D9D059 #59A2D9 #9059D9
monochromatic
#958D22 #C7BC2E #D9D059 #E4DE8B #F0ECBD

Accessibility & contrast

On white

1.60
#D9D059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#D9D059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D059
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D059#FFFFFF#000000##000000
##D9D0591.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94C
Deuteranopia (green-blind)
#E4CF5F
Tritanopia (blue-blind)
#E8C3B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9d059;
/* rgb */ color: rgb(217, 208, 89);
/* oklch */ color: oklch(84.2% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#e8de8c',
    500: '#d9d059',
    950: '#000000',
  },
}
SCSS
$custom: #d9d059;
$custom-light: #e8de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d059",
  "rgb": {
    "r": 217,
    "g": 208,
    "b": 89
  },
  "hsl": {
    "h": 55.781,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.84217,
    "c": 0.13991,
    "h": 105
  },
  "luminance": 0.60585
}

Semantic roles & 50–950 ramp

primary
#D9D059
secondary
#3C439A
accent
#4EE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D059

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

Preview Lab → · Contrast checker → · Palette generator →

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