#D8DB74#D8DB74

#D8DB74 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.8% C 0.127 H 110.3°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#D8DB74
RGBrgb(216, 219, 116)
HSLhsl(62, 59%, 66%)
HSVhsv(62, 47%, 86%)
CMYKcmyk(1.4%, 0%, 47%, 14.1%)
CIE-LABlab(85.26, -15.32, 49.93)
CIE-LCHlch(85.26, 52.23, 107.05°)
OKLaboklab(86.76% -0.0438 0.1189)
OKLCHoklch(86.76% 0.127 110.3)
XYZxyz(56.8039, 66.5241, 26.3677)
Luminance0.6652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB74 #7774DB
analogous
#DBAB74 #D8DB74 #A4DB74
triadic
#D8DB74 #74D8DB #DB74D8
tetradic
#D8DB74 #74DBAB #7774DB #DB74A4
square
#D8DB74 #74DBAB #7774DB #DB74A4
split-complementary
#D8DB74 #74A4DB #AB74DB
monochromatic
#A5A92C #CACE43 #D8DB74 #E6E8A5 #F3F4D5

Accessibility & contrast

On white

1.47
#D8DB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#D8DB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB74
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB74#FFFFFF#000000##000000
##D8DB741.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D36B
Deuteranopia (green-blind)
#EAD779
Tritanopia (blue-blind)
#E4D0C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8db74;
/* rgb */ color: rgb(216, 219, 116);
/* oklch */ color: oklch(86.8% 0.127 110.3);
Tailwind
colors: {
  custom: {
    50: '#e6e69e',
    500: '#d8db74',
    950: '#000000',
  },
}
SCSS
$custom: #d8db74;
$custom-light: #e6e69e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db74",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 116
  },
  "hsl": {
    "h": 61.748,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86762,
    "c": 0.12668,
    "h": 110.3
  },
  "luminance": 0.66523
}

Semantic roles & 50–950 ramp

primary
#D8DB74
secondary
#4A48AC
accent
#1FC624
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8DB74

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

Preview Lab → · Contrast checker → · Palette generator →

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