#D9D845#D9D845

#D9D845 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.163 H 109.0°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D9D845
RGBrgb(217, 216, 69)
HSLhsl(60, 66%, 56%)
HSVhsv(60, 68%, 85%)
CMYKcmyk(0%, 0.5%, 68.2%, 14.9%)
CIE-LABlab(84.12, -16.80, 68.91)
CIE-LCHlch(84.12, 70.93, 103.70°)
OKLaboklab(85.73% -0.0529 0.1537)
OKLCHoklch(85.73% 0.163 109)
XYZxyz(54.2472, 64.2947, 15.1816)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D845 #4546D9
analogous
#D98E45 #D9D845 #90D945
triadic
#D9D845 #45D9D8 #D845D9
tetradic
#D9D845 #45D98E #4546D9 #D94590
square
#D9D845 #45D98E #4546D9 #D94590
split-complementary
#D9D845 #4590D9 #8E45D9
monochromatic
#88871C #BBBA26 #D9D845 #E3E378 #EEEDAB

Accessibility & contrast

On white

1.52
#D9D845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D9D845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D845
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D845#FFFFFF#000000##000000
##D9D8451.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2E
Deuteranopia (green-blind)
#EBD44F
Tritanopia (blue-blind)
#E8CABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d845;
/* rgb */ color: rgb(217, 216, 69);
/* oklch */ color: oklch(85.7% 0.163 109.0);
Tailwind
colors: {
  custom: {
    50: '#e8e381',
    500: '#d9d845',
    950: '#000000',
  },
}
SCSS
$custom: #d9d845;
$custom-light: #e8e381;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d845",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 59.595,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85732,
    "c": 0.16253,
    "h": 109
  },
  "luminance": 0.64293
}

Semantic roles & 50–950 ramp

primary
#D9D845
secondary
#34358E
accent
#40E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D845

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

Preview Lab → · Contrast checker → · Palette generator →

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