#D2E178#D2E178

#D2E178 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.6% C 0.131 H 115.9°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#D2E178
RGBrgb(210, 225, 120)
HSLhsl(69, 64%, 68%)
HSVhsv(69, 47%, 88%)
CMYKcmyk(6.7%, 0%, 46.7%, 11.8%)
CIE-LABlab(86.46, -20.25, 49.37)
CIE-LCHlch(86.46, 53.36, 112.30°)
OKLaboklab(87.62% -0.0572 0.118)
OKLCHoklch(87.62% 0.131 115.9)
XYZxyz(56.8944, 68.9088, 28.0692)
Luminance0.6891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E178 #8778E1
analogous
#E1BB78 #D2E178 #9EE178
triadic
#D2E178 #78D2E1 #E178D2
tetradic
#D2E178 #78E1BB #8778E1 #E1789E
square
#D2E178 #78E1BB #8778E1 #E1789E
split-complementary
#D2E178 #789EE1 #BB78E1
monochromatic
#A2B628 #C1D646 #D2E178 #E3ECAA #F3F7DC

Accessibility & contrast

On white

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

On black

14.78
#D2E178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E178
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E178#FFFFFF#000000##000000
##D2E1781.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86F
Deuteranopia (green-blind)
#ECD97D
Tritanopia (blue-blind)
#DCD7C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e178;
/* rgb */ color: rgb(210, 225, 120);
/* oklch */ color: oklch(87.6% 0.131 115.9);
Tailwind
colors: {
  custom: {
    50: '#e1eaa1',
    500: '#d2e178',
    950: '#000000',
  },
}
SCSS
$custom: #d2e178;
$custom-light: #e1eaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e178",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 68.571,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87621,
    "c": 0.13111,
    "h": 115.9
  },
  "luminance": 0.68908
}

Semantic roles & 50–950 ramp

primary
#D2E178
secondary
#5646B7
accent
#1ACB33
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #D2E178

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

Preview Lab → · Contrast checker → · Palette generator →

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