#D9DA74#D9DA74

#D9DA74 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.6% C 0.125 H 109.3°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#D9DA74
RGBrgb(217, 218, 116)
HSLhsl(61, 58%, 65%)
HSVhsv(61, 47%, 85%)
CMYKcmyk(0.5%, 0%, 46.8%, 14.5%)
CIE-LABlab(85.08, -14.42, 49.72)
CIE-LCHlch(85.08, 51.77, 106.17°)
OKLaboklab(86.63% -0.0413 0.1184)
OKLCHoklch(86.63% 0.125 109.3)
XYZxyz(56.8402, 66.1567, 26.2949)
Luminance0.6615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DA74 #7574DA
analogous
#DAA874 #D9DA74 #A6DA74
triadic
#D9DA74 #74D9DA #DA74D9
tetradic
#D9DA74 #74DAA8 #7574DA #DA74A6
square
#D9DA74 #74DAA8 #7574DA #DA74A6
split-complementary
#D9DA74 #74A6DA #A874DA
monochromatic
#A6A72C #CCCD44 #D9DA74 #E6E7A4 #F3F4D5

Accessibility & contrast

On white

1.48
#D9DA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#D9DA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DA74
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DA74#FFFFFF#000000##000000
##D9DA741.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D36B
Deuteranopia (green-blind)
#E9D679
Tritanopia (blue-blind)
#E5CFC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d9da74;
/* rgb */ color: rgb(217, 218, 116);
/* oklch */ color: oklch(86.6% 0.125 109.3);
Tailwind
colors: {
  custom: {
    50: '#e6e59e',
    500: '#d9da74',
    950: '#000000',
  },
}
SCSS
$custom: #d9da74;
$custom-light: #e6e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9da74",
  "rgb": {
    "r": 217,
    "g": 218,
    "b": 116
  },
  "hsl": {
    "h": 60.588,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86633,
    "c": 0.1254,
    "h": 109.3
  },
  "luminance": 0.66155
}

Semantic roles & 50–950 ramp

primary
#D9DA74
secondary
#4948AA
accent
#20C622
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9DA74

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

Preview Lab → · Contrast checker → · Palette generator →

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