#D9D450#D9D450

#D9D450 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.151 H 107.1°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#D9D450
RGBrgb(217, 212, 80)
HSLhsl(58, 64%, 58%)
HSVhsv(58, 63%, 85%)
CMYKcmyk(0%, 2.3%, 63.1%, 14.9%)
CIE-LABlab(83.14, -14.20, 63.63)
CIE-LCHlch(83.14, 65.19, 102.58°)
OKLaboklab(84.97% -0.0445 0.1443)
OKLCHoklch(84.97% 0.151 107.1)
XYZxyz(53.6086, 62.4196, 16.8121)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D450 #5055D9
analogous
#D98F50 #D9D450 #99D950
triadic
#D9D450 #50D9D4 #D450D9
tetradic
#D9D450 #50D98F #5055D9 #D95099
square
#D9D450 #50D98F #5055D9 #D95099
split-complementary
#D9D450 #5099D9 #8F50D9
monochromatic
#8F8B1F #C2BC2A #D9D450 #E4E082 #EFEDB5

Accessibility & contrast

On white

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

On black

13.48
#D9D450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D450
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D450#FFFFFF#000000##000000
##D9D4501.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3F
Deuteranopia (green-blind)
#E8D158
Tritanopia (blue-blind)
#E8C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d450;
/* rgb */ color: rgb(217, 212, 80);
/* oklch */ color: oklch(85.0% 0.151 107.1);
Tailwind
colors: {
  custom: {
    50: '#e8e187',
    500: '#d9d450',
    950: '#000000',
  },
}
SCSS
$custom: #d9d450;
$custom-light: #e8e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d450",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 80
  },
  "hsl": {
    "h": 57.81,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84973,
    "c": 0.15095,
    "h": 107.1
  },
  "luminance": 0.62418
}

Semantic roles & 50–950 ramp

primary
#D9D450
secondary
#383C95
accent
#47E740
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D450

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

Preview Lab → · Contrast checker → · Palette generator →

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