#D9D54D#D9D54D

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

Color values

HEX#D9D54D
RGBrgb(217, 213, 77)
HSLhsl(58, 65%, 58%)
HSVhsv(58, 65%, 85%)
CMYKcmyk(0%, 1.8%, 64.5%, 14.9%)
CIE-LABlab(83.38, -14.88, 65.09)
CIE-LCHlch(83.38, 66.77, 102.87°)
OKLaboklab(85.16% -0.0467 0.1469)
OKLCHoklch(85.16% 0.154 107.6)
XYZxyz(53.7509, 62.8777, 16.3250)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D54D #4D51D9
analogous
#D98F4D #D9D54D #97D94D
triadic
#D9D54D #4DD9D5 #D54DD9
tetradic
#D9D54D #4DD98F #4D51D9 #D94D97
square
#D9D54D #4DD98F #4D51D9 #D94D97
split-complementary
#D9D54D #4D97D9 #8F4DD9
monochromatic
#8D8A1E #C0BC29 #D9D54D #E4E17F #EFEDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D54D#FFFFFF#000000##000000
##D9D54D1.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)
#E6CD3B
Deuteranopia (green-blind)
#E8D256
Tritanopia (blue-blind)
#E8C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d54d;
/* rgb */ color: rgb(217, 213, 77);
/* oklch */ color: oklch(85.2% 0.154 107.6);
Tailwind
colors: {
  custom: {
    50: '#e8e185',
    500: '#d9d54d',
    950: '#000000',
  },
}
SCSS
$custom: #d9d54d;
$custom-light: #e8e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d54d",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 58.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85158,
    "c": 0.15413,
    "h": 107.6
  },
  "luminance": 0.62876
}

Semantic roles & 50–950 ramp

primary
#D9D54D
secondary
#373A93
accent
#45E840
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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