#D2E877#D2E877

#D2E877 is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 89.1% C 0.141 H 118.4°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#D2E877
RGBrgb(210, 232, 119)
HSLhsl(72, 71%, 69%)
HSVhsv(72, 49%, 91%)
CMYKcmyk(9.5%, 0%, 48.7%, 9%)
CIE-LABlab(88.33, -23.73, 52.10)
CIE-LCHlch(88.33, 57.25, 114.49°)
OKLaboklab(89.11% -0.0671 0.1239)
OKLCHoklch(89.11% 0.141 118.4)
XYZxyz(58.7653, 72.7472, 28.3950)
Luminance0.7275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E877 #8D77E8
analogous
#E8C677 #D2E877 #9AE877
triadic
#D2E877 #77D2E8 #E877D2
tetradic
#D2E877 #77E8C6 #8D77E8 #E8779A
square
#D2E877 #77E8C6 #8D77E8 #E8779A
split-complementary
#D2E877 #779AE8 #C677E8
monochromatic
#A4C421 #C1DF43 #D2E877 #E3F1AB #F5FAE0

Accessibility & contrast

On white

1.35
#D2E877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#D2E877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E877
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E877#FFFFFF#000000##000000
##D2E8771.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD6D
Deuteranopia (green-blind)
#F2DE7D
Tritanopia (blue-blind)
#DCDECE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e877;
/* rgb */ color: rgb(210, 232, 119);
/* oklch */ color: oklch(89.1% 0.141 118.4);
Tailwind
colors: {
  custom: {
    50: '#e2efa1',
    500: '#d2e877',
    950: '#000000',
  },
}
SCSS
$custom: #d2e877;
$custom-light: #e2efa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e877",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 71.681,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89112,
    "c": 0.14094,
    "h": 118.4
  },
  "luminance": 0.72747
}

Semantic roles & 50–950 ramp

primary
#D2E877
secondary
#5C43C0
accent
#12D338
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D2E877

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

Preview Lab → · Contrast checker → · Palette generator →

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