#D9D45A#D9D45A

#D9D45A is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.1% C 0.143 H 106.9°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D9D45A
RGBrgb(217, 212, 90)
HSLhsl(58, 63%, 60%)
HSVhsv(58, 59%, 85%)
CMYKcmyk(0%, 2.3%, 58.5%, 14.9%)
CIE-LABlab(83.22, -13.54, 59.49)
CIE-LCHlch(83.22, 61.02, 102.82°)
OKLaboklab(85.07% -0.0415 0.1369)
OKLCHoklch(85.07% 0.143 106.9)
XYZxyz(54.0059, 62.5785, 18.9049)
Luminance0.6258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D45A #5A5FD9
analogous
#D9955A #D9D45A #9ED95A
triadic
#D9D45A #5AD9D4 #D45AD9
tetradic
#D9D45A #5AD995 #5A5FD9 #D95A9E
square
#D9D45A #5AD995 #5A5FD9 #D95A9E
split-complementary
#D9D45A #5A9ED9 #955AD9
monochromatic
#969123 #C8C22E #D9D45A #E4E18C #F0EEBD

Accessibility & contrast

On white

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

On black

13.52
#D9D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D45A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D45A#FFFFFF#000000##000000
##D9D45A1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD4C
Deuteranopia (green-blind)
#E7D261
Tritanopia (blue-blind)
#E7C7BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d45a;
/* rgb */ color: rgb(217, 212, 90);
/* oklch */ color: oklch(85.1% 0.143 106.9);
Tailwind
colors: {
  custom: {
    50: '#e7e18d',
    500: '#d9d45a',
    950: '#000000',
  },
}
SCSS
$custom: #d9d45a;
$custom-light: #e7e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d45a",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 57.638,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85067,
    "c": 0.14302,
    "h": 106.9
  },
  "luminance": 0.62577
}

Semantic roles & 50–950 ramp

primary
#D9D45A
secondary
#3C409B
accent
#22CA1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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