#D8DA74#D8DA74

#D8DA74 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.126 H 109.8°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#D8DA74
RGBrgb(216, 218, 116)
HSLhsl(61, 58%, 65%)
HSVhsv(61, 47%, 85%)
CMYKcmyk(0.9%, 0%, 46.8%, 14.5%)
CIE-LABlab(85.00, -14.82, 49.61)
CIE-LCHlch(85.00, 51.78, 106.63°)
OKLaboklab(86.55% -0.0424 0.1182)
OKLCHoklch(86.55% 0.126 109.8)
XYZxyz(56.5438, 66.0039, 26.2810)
Luminance0.6600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA74 #7674DA
analogous
#DAA974 #D8DA74 #A5DA74
triadic
#D8DA74 #74D8DA #DA74D8
tetradic
#D8DA74 #74DAA9 #7674DA #DA74A5
square
#D8DA74 #74DAA9 #7674DA #DA74A5
split-complementary
#D8DA74 #74A5DA #A974DA
monochromatic
#A5A72C #CACD44 #D8DA74 #E6E7A4 #F3F4D5

Accessibility & contrast

On white

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

On black

14.20
#D8DA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DA74
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DA74#FFFFFF#000000##000000
##D8DA741.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8da74;
/* rgb */ color: rgb(216, 218, 116);
/* oklch */ color: oklch(86.6% 0.126 109.8);
Tailwind
colors: {
  custom: {
    50: '#e6e59e',
    500: '#d8da74',
    950: '#000000',
  },
}
SCSS
$custom: #d8da74;
$custom-light: #e6e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da74",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 116
  },
  "hsl": {
    "h": 61.176,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86552,
    "c": 0.12554,
    "h": 109.8
  },
  "luminance": 0.66003
}

Semantic roles & 50–950 ramp

primary
#D8DA74
secondary
#4A48AA
accent
#20C623
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8DA74

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

Preview Lab → · Contrast checker → · Palette generator →

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