#D9D543#D9D543

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

Color values

HEX#D9D543
RGBrgb(217, 213, 67)
HSLhsl(58, 66%, 56%)
HSVhsv(58, 69%, 85%)
CMYKcmyk(0%, 1.8%, 69.1%, 14.9%)
CIE-LABlab(83.31, -15.42, 68.84)
CIE-LCHlch(83.31, 70.55, 102.62°)
OKLaboklab(85.08% -0.0492 0.1532)
OKLCHoklch(85.08% 0.161 107.8)
XYZxyz(53.4246, 62.7472, 14.6063)
Luminance0.6274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D543 #4347D9
analogous
#D98A43 #D9D543 #92D943
triadic
#D9D543 #43D9D5 #D543D9
tetradic
#D9D543 #43D98A #4347D9 #D94392
square
#D9D543 #43D98A #4347D9 #D94392
split-complementary
#D9D543 #4392D9 #8A43D9
monochromatic
#86841B #B9B525 #D9D543 #E3E076 #EEECA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D543#FFFFFF#000000##000000
##D9D5431.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)
#E6CD2B
Deuteranopia (green-blind)
#E9D24D
Tritanopia (blue-blind)
#E8C7B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d543;
/* rgb */ color: rgb(217, 213, 67);
/* oklch */ color: oklch(85.1% 0.161 107.8);
Tailwind
colors: {
  custom: {
    50: '#e8e180',
    500: '#d9d543',
    950: '#000000',
  },
}
SCSS
$custom: #d9d543;
$custom-light: #e8e180;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d543",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 67
  },
  "hsl": {
    "h": 58.4,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85082,
    "c": 0.16091,
    "h": 107.8
  },
  "luminance": 0.62745
}

Semantic roles & 50–950 ramp

primary
#D9D543
secondary
#33368D
accent
#43E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D543

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

Preview Lab → · Contrast checker → · Palette generator →

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