#D9D547#D9D547

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

Color values

HEX#D9D547
RGBrgb(217, 213, 71)
HSLhsl(58, 66%, 56%)
HSVhsv(58, 67%, 85%)
CMYKcmyk(0%, 1.8%, 67.3%, 14.9%)
CIE-LABlab(83.34, -15.21, 67.38)
CIE-LCHlch(83.34, 69.08, 102.72°)
OKLaboklab(85.11% -0.0482 0.1508)
OKLCHoklch(85.11% 0.158 107.7)
XYZxyz(53.5488, 62.7969, 15.2603)
Luminance0.6280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D547 #474BD9
analogous
#D98C47 #D9D547 #94D947
triadic
#D9D547 #47D9D5 #D547D9
tetradic
#D9D547 #47D98C #474BD9 #D94794
square
#D9D547 #47D98C #474BD9 #D94794
split-complementary
#D9D547 #4794D9 #8C47D9
monochromatic
#89861C #BCB827 #D9D547 #E3E17A #EEECAC

Accessibility & contrast

On white

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

On black

13.56
#D9D547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D547
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D547#FFFFFF#000000##000000
##D9D5471.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD32
Deuteranopia (green-blind)
#E9D251
Tritanopia (blue-blind)
#E8C7B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d547;
/* rgb */ color: rgb(217, 213, 71);
/* oklch */ color: oklch(85.1% 0.158 107.7);
Tailwind
colors: {
  custom: {
    50: '#e8e182',
    500: '#d9d547',
    950: '#000000',
  },
}
SCSS
$custom: #d9d547;
$custom-light: #e8e182;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d547",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 71
  },
  "hsl": {
    "h": 58.356,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85111,
    "c": 0.1583,
    "h": 107.7
  },
  "luminance": 0.62795
}

Semantic roles & 50–950 ramp

primary
#D9D547
secondary
#35378F
accent
#44E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D547

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

Preview Lab → · Contrast checker → · Palette generator →

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