#D9DA51#D9DA51

#D9DA51 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.3% C 0.156 H 109.7°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#D9DA51
RGBrgb(217, 218, 81)
HSLhsl(60, 65%, 59%)
HSVhsv(60, 63%, 85%)
CMYKcmyk(0.5%, 0%, 62.8%, 14.5%)
CIE-LABlab(84.74, -17.11, 64.91)
CIE-LCHlch(84.74, 67.12, 104.77°)
OKLaboklab(86.25% -0.0526 0.1471)
OKLCHoklch(86.25% 0.156 109.7)
XYZxyz(55.1736, 65.4901, 17.5175)
Luminance0.6549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DA51 #5251DA
analogous
#DA9651 #D9DA51 #94DA51
triadic
#D9DA51 #51D9DA #DA51D9
tetradic
#D9DA51 #51DA96 #5251DA #DA5194
square
#D9DA51 #51DA96 #5251DA #DA5194
split-complementary
#D9DA51 #5194DA #9651DA
monochromatic
#91921F #C3C42A #D9DA51 #E4E583 #EFEFB6

Accessibility & contrast

On white

1.49
#D9DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#D9DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DA51
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DA51#FFFFFF#000000##000000
##D9DA511.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13F
Deuteranopia (green-blind)
#ECD65A
Tritanopia (blue-blind)
#E7CDBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d9da51;
/* rgb */ color: rgb(217, 218, 81);
/* oklch */ color: oklch(86.3% 0.156 109.7);
Tailwind
colors: {
  custom: {
    50: '#e8e588',
    500: '#d9da51',
    950: '#000000',
  },
}
SCSS
$custom: #d9da51;
$custom-light: #e8e588;
$custom-dark: #000000;
JSON
{
  "hex": "#d9da51",
  "rgb": {
    "r": 217,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 60.438,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86251,
    "c": 0.15622,
    "h": 109.7
  },
  "luminance": 0.65489
}

Semantic roles & 50–950 ramp

primary
#D9DA51
secondary
#393997
accent
#40E841
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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