#D2E978#D2E978

#D2E978 is a very light, vivid yellow-green. Relative luminance 0.733; OKLCH L 89.3% C 0.141 H 118.8°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#D2E978
RGBrgb(210, 233, 120)
HSLhsl(72, 72%, 69%)
HSVhsv(72, 48%, 91%)
CMYKcmyk(9.9%, 0%, 48.5%, 8.6%)
CIE-LABlab(88.61, -24.11, 51.96)
CIE-LCHlch(88.61, 57.29, 114.89°)
OKLaboklab(89.34% -0.0681 0.1237)
OKLCHoklch(89.34% 0.141 118.8)
XYZxyz(59.1079, 73.3359, 28.8070)
Luminance0.7334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E978 #8F78E9
analogous
#E9C778 #D2E978 #9AE978
triadic
#D2E978 #78D2E9 #E978D2
tetradic
#D2E978 #78E9C7 #8F78E9 #E9789A
square
#D2E978 #78E9C7 #8F78E9 #E9789A
split-complementary
#D2E978 #789AE9 #C778E9
monochromatic
#A5C620 #C0E043 #D2E978 #E4F2AD #F5FAE1

Accessibility & contrast

On white

1.34
#D2E978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#D2E978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E978
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E978#FFFFFF#000000##000000
##D2E9781.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6E
Deuteranopia (green-blind)
#F3DF7E
Tritanopia (blue-blind)
#DCDFCF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e978;
/* rgb */ color: rgb(210, 233, 120);
/* oklch */ color: oklch(89.3% 0.141 118.8);
Tailwind
colors: {
  custom: {
    50: '#e2f0a1',
    500: '#d2e978',
    950: '#000000',
  },
}
SCSS
$custom: #d2e978;
$custom-light: #e2f0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e978",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 72.212,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89341,
    "c": 0.14123,
    "h": 118.8
  },
  "luminance": 0.73336
}

Semantic roles & 50–950 ramp

primary
#D2E978
secondary
#5D44C1
accent
#11D439
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D2E978

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

Preview Lab → · Contrast checker → · Palette generator →

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