#D9D54E#D9D54E

#D9D54E 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#D9D54E
RGBrgb(217, 213, 78)
HSLhsl(58, 65%, 58%)
HSVhsv(58, 64%, 85%)
CMYKcmyk(0%, 1.8%, 64.1%, 14.9%)
CIE-LABlab(83.39, -14.82, 64.70)
CIE-LCHlch(83.39, 66.37, 102.90°)
OKLaboklab(85.17% -0.0464 0.1462)
OKLCHoklch(85.17% 0.153 107.6)
XYZxyz(53.7865, 62.8920, 16.5123)
Luminance0.6289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D54E #4E52D9
analogous
#D98F4E #D9D54E #98D94E
triadic
#D9D54E #4ED9D5 #D54ED9
tetradic
#D9D54E #4ED98F #4E52D9 #D94E98
square
#D9D54E #4ED98F #4E52D9 #D94E98
split-complementary
#D9D54E #4E98D9 #8F4ED9
monochromatic
#8E8B1F #C0BC29 #D9D54E #E4E180 #EFEDB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D54E#FFFFFF#000000##000000
##D9D54E1.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)
#E6CD3C
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#E8C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d54e;
/* rgb */ color: rgb(217, 213, 78);
/* oklch */ color: oklch(85.2% 0.153 107.6);
Tailwind
colors: {
  custom: {
    50: '#e8e186',
    500: '#d9d54e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d54e;
$custom-light: #e8e186;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d54e",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 58.273,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85167,
    "c": 0.15341,
    "h": 107.6
  },
  "luminance": 0.6289
}

Semantic roles & 50–950 ramp

primary
#D9D54E
secondary
#383A94
accent
#45E840
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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