#D9D440#D9D440

#D9D440 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.8% C 0.162 H 107.5°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#D9D440
RGBrgb(217, 212, 64)
HSLhsl(58, 67%, 55%)
HSVhsv(58, 71%, 85%)
CMYKcmyk(0%, 2.3%, 70.5%, 14.9%)
CIE-LABlab(83.03, -15.07, 69.64)
CIE-LCHlch(83.03, 71.25, 102.21°)
OKLaboklab(84.85% -0.0485 0.1544)
OKLCHoklch(84.85% 0.162 107.5)
XYZxyz(53.0862, 62.2106, 14.0610)
Luminance0.6221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D440 #4045D9
analogous
#D98740 #D9D440 #92D940
triadic
#D9D440 #40D9D4 #D440D9
tetradic
#D9D440 #40D987 #4045D9 #D94092
square
#D9D440 #40D987 #4045D9 #D94092
split-complementary
#D9D440 #4092D9 #8740D9
monochromatic
#84811A #B7B324 #D9D440 #E3DF73 #EDEBA6

Accessibility & contrast

On white

1.56
#D9D440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#D9D440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D440
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D440#FFFFFF#000000##000000
##D9D4401.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC26
Deuteranopia (green-blind)
#E8D14B
Tritanopia (blue-blind)
#E9C6B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d440;
/* rgb */ color: rgb(217, 212, 64);
/* oklch */ color: oklch(84.8% 0.162 107.5);
Tailwind
colors: {
  custom: {
    50: '#e8e07e',
    500: '#d9d440',
    950: '#000000',
  },
}
SCSS
$custom: #d9d440;
$custom-light: #e8e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d440",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 64
  },
  "hsl": {
    "h": 58.039,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84849,
    "c": 0.16182,
    "h": 107.5
  },
  "luminance": 0.62209
}

Semantic roles & 50–950 ramp

primary
#D9D440
secondary
#32358B
accent
#44EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D440

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

Preview Lab → · Contrast checker → · Palette generator →

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