#D2DD78#D2DD78

#D2DD78 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.8% C 0.126 H 114.2°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#D2DD78
RGBrgb(210, 221, 120)
HSLhsl(67, 60%, 67%)
HSVhsv(67, 46%, 87%)
CMYKcmyk(5%, 0%, 45.7%, 13.3%)
CIE-LABlab(85.39, -18.29, 48.06)
CIE-LCHlch(85.39, 51.42, 110.83°)
OKLaboklab(86.77% -0.0516 0.1151)
OKLCHoklch(86.77% 0.126 114.2)
XYZxyz(55.8257, 66.7714, 27.7130)
Luminance0.6677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD78 #8378DD
analogous
#DDB678 #D2DD78 #A0DD78
triadic
#D2DD78 #78D2DD #DD78D2
tetradic
#D2DD78 #78DDB6 #8378DD #DD78A0
square
#D2DD78 #78DDB6 #8378DD #DD78A0
split-complementary
#D2DD78 #78A0DD #B678DD
monochromatic
#A0AF2C #C2D147 #D2DD78 #E2E9A9 #F3F6DA

Accessibility & contrast

On white

1.46
#D2DD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#D2DD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD78
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD78#FFFFFF#000000##000000
##D2DD781.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46F
Deuteranopia (green-blind)
#E9D67D
Tritanopia (blue-blind)
#DDD3C5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d2dd78;
/* rgb */ color: rgb(210, 221, 120);
/* oklch */ color: oklch(86.8% 0.126 114.2);
Tailwind
colors: {
  custom: {
    50: '#e1e7a1',
    500: '#d2dd78',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd78;
$custom-light: #e1e7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd78",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 120
  },
  "hsl": {
    "h": 66.535,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86766,
    "c": 0.12615,
    "h": 114.2
  },
  "luminance": 0.66771
}

Semantic roles & 50–950 ramp

primary
#D2DD78
secondary
#5448B1
accent
#1EC731
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #D2DD78

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

Preview Lab → · Contrast checker → · Palette generator →

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