#D8DF79#D8DF79

#D8DF79 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.7% C 0.126 H 112.2°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#D8DF79
RGBrgb(216, 223, 121)
HSLhsl(64, 61%, 67%)
HSVhsv(64, 46%, 87%)
CMYKcmyk(3.1%, 0%, 45.7%, 12.5%)
CIE-LABlab(86.38, -16.82, 48.90)
CIE-LCHlch(86.38, 51.71, 108.98°)
OKLaboklab(87.68% -0.0477 0.117)
OKLCHoklch(87.68% 0.126 112.2)
XYZxyz(58.1587, 68.7558, 28.2929)
Luminance0.6875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF79 #8079DF
analogous
#DFB379 #D8DF79 #A5DF79
triadic
#D8DF79 #79D8DF #DF79D8
tetradic
#D8DF79 #79DFB3 #8079DF #DF79A5
square
#D8DF79 #79DFB3 #8079DF #DF79A5
split-complementary
#D8DF79 #79A5DF #B379DF
monochromatic
#AAB32B #CAD348 #D8DF79 #E6EBAA #F5F7DC

Accessibility & contrast

On white

1.42
#D8DF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#D8DF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF79
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF79#FFFFFF#000000##000000
##D8DF791.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD770
Deuteranopia (green-blind)
#EDDA7E
Tritanopia (blue-blind)
#E3D4C7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8df79;
/* rgb */ color: rgb(216, 223, 121);
/* oklch */ color: oklch(87.7% 0.126 112.2);
Tailwind
colors: {
  custom: {
    50: '#e6e8a2',
    500: '#d8df79',
    950: '#000000',
  },
}
SCSS
$custom: #d8df79;
$custom-light: #e6e8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df79",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 121
  },
  "hsl": {
    "h": 64.118,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87675,
    "c": 0.1263,
    "h": 112.2
  },
  "luminance": 0.68755
}

Semantic roles & 50–950 ramp

primary
#D8DF79
secondary
#4F48B4
accent
#1CC928
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D8DF79

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

Preview Lab → · Contrast checker → · Palette generator →

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