#D9D54F#D9D54F

#D9D54F is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.153 H 107.6°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#D9D54F
RGBrgb(217, 213, 79)
HSLhsl(58, 64%, 58%)
HSVhsv(58, 64%, 85%)
CMYKcmyk(0%, 1.8%, 63.6%, 14.9%)
CIE-LABlab(83.39, -14.76, 64.30)
CIE-LCHlch(83.39, 65.98, 102.92°)
OKLaboklab(85.18% -0.0461 0.1455)
OKLCHoklch(85.18% 0.153 107.6)
XYZxyz(53.8226, 62.9064, 16.7026)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D54F #4F53D9
analogous
#D9904F #D9D54F #98D94F
triadic
#D9D54F #4FD9D5 #D54FD9
tetradic
#D9D54F #4FD990 #4F53D9 #D94F98
square
#D9D54F #4FD990 #4F53D9 #D94F98
split-complementary
#D9D54F #4F98D9 #904FD9
monochromatic
#8F8C1F #C1BD2A #D9D54F #E4E181 #EFEDB4

Accessibility & contrast

On white

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

On black

13.58
#D9D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D54F
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D54F#FFFFFF#000000##000000
##D9D54F1.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3E
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#E8C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d54f;
/* rgb */ color: rgb(217, 213, 79);
/* oklch */ color: oklch(85.2% 0.153 107.6);
Tailwind
colors: {
  custom: {
    50: '#e8e187',
    500: '#d9d54f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d54f;
$custom-light: #e8e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d54f",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 58.261,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85175,
    "c": 0.15268,
    "h": 107.6
  },
  "luminance": 0.62905
}

Semantic roles & 50–950 ramp

primary
#D9D54F
secondary
#383B94
accent
#45E740
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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