#D9D45D#D9D45D

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

Color values

HEX#D9D45D
RGBrgb(217, 212, 93)
HSLhsl(58, 62%, 61%)
HSVhsv(58, 57%, 85%)
CMYKcmyk(0%, 2.3%, 57.1%, 14.9%)
CIE-LABlab(83.25, -13.33, 58.21)
CIE-LCHlch(83.25, 59.71, 102.90°)
OKLaboklab(85.1% -0.0406 0.1345)
OKLCHoklch(85.1% 0.14 106.8)
XYZxyz(54.1362, 62.6306, 19.5910)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D45D #5D62D9
analogous
#D9965D #D9D45D #A0D95D
triadic
#D9D45D #5DD9D4 #D45DD9
tetradic
#D9D45D #5DD996 #5D62D9 #D95DA0
square
#D9D45D #5DD996 #5D62D9 #D95DA0
split-complementary
#D9D45D #5DA0D9 #965DD9
monochromatic
#989324 #CAC32F #D9D45D #E5E18F #F0EEC0

Accessibility & contrast

On white

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

On black

13.53
#D9D45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D45D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D45D#FFFFFF#000000##000000
##D9D45D1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD50
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#E7C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d45d;
/* rgb */ color: rgb(217, 212, 93);
/* oklch */ color: oklch(85.1% 0.140 106.8);
Tailwind
colors: {
  custom: {
    50: '#e7e18f',
    500: '#d9d45d',
    950: '#000000',
  },
}
SCSS
$custom: #d9d45d;
$custom-light: #e7e18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d45d",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 57.581,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85098,
    "c": 0.14048,
    "h": 106.8
  },
  "luminance": 0.62629
}

Semantic roles & 50–950 ramp

primary
#D9D45D
secondary
#3E429C
accent
#23CA1C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D45D

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

Preview Lab → · Contrast checker → · Palette generator →

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