#D9D545#D9D545

#D9D545 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.160 H 107.8°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D9D545
RGBrgb(217, 213, 69)
HSLhsl(58, 66%, 56%)
HSVhsv(58, 68%, 85%)
CMYKcmyk(0%, 1.8%, 68.2%, 14.9%)
CIE-LABlab(83.32, -15.32, 68.12)
CIE-LCHlch(83.32, 69.82, 102.67°)
OKLaboklab(85.1% -0.0487 0.152)
OKLCHoklch(85.1% 0.16 107.8)
XYZxyz(53.4857, 62.7716, 14.9278)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D545 #4549D9
analogous
#D98B45 #D9D545 #93D945
triadic
#D9D545 #45D9D5 #D545D9
tetradic
#D9D545 #45D98B #4549D9 #D94593
square
#D9D545 #45D98B #4549D9 #D94593
split-complementary
#D9D545 #4593D9 #8B45D9
monochromatic
#88851C #BBB726 #D9D545 #E3E078 #EEECAB

Accessibility & contrast

On white

1.55
#D9D545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#D9D545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D545
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D545#FFFFFF#000000##000000
##D9D5451.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD2F
Deuteranopia (green-blind)
#E9D24F
Tritanopia (blue-blind)
#E8C7B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d545;
/* rgb */ color: rgb(217, 213, 69);
/* oklch */ color: oklch(85.1% 0.160 107.8);
Tailwind
colors: {
  custom: {
    50: '#e8e181',
    500: '#d9d545',
    950: '#000000',
  },
}
SCSS
$custom: #d9d545;
$custom-light: #e8e181;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d545",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 58.378,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85096,
    "c": 0.15963,
    "h": 107.8
  },
  "luminance": 0.6277
}

Semantic roles & 50–950 ramp

primary
#D9D545
secondary
#34378E
accent
#43E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D545

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

Preview Lab → · Contrast checker → · Palette generator →

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