#D2E875#D2E875

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

Color values

HEX#D2E875
RGBrgb(210, 232, 117)
HSLhsl(71, 71%, 68%)
HSVhsv(71, 50%, 91%)
CMYKcmyk(9.5%, 0%, 49.6%, 9%)
CIE-LABlab(88.30, -23.92, 53.00)
CIE-LCHlch(88.30, 58.15, 114.29°)
OKLaboklab(89.09% -0.0678 0.1258)
OKLCHoklch(89.09% 0.143 118.3)
XYZxyz(58.6464, 72.6996, 27.7691)
Luminance0.7270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E875 #8B75E8
analogous
#E8C475 #D2E875 #98E875
triadic
#D2E875 #75D2E8 #E875D2
tetradic
#D2E875 #75E8C4 #8B75E8 #E87598
square
#D2E875 #75E8C4 #8B75E8 #E87598
split-complementary
#D2E875 #7598E8 #C475E8
monochromatic
#A3C220 #C1DF41 #D2E875 #E3F1A9 #F4F9DE

Accessibility & contrast

On white

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

On black

15.54
#D2E875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E875
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E875#FFFFFF#000000##000000
##D2E8751.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e875;
/* rgb */ color: rgb(210, 232, 117);
/* oklch */ color: oklch(89.1% 0.143 118.3);
Tailwind
colors: {
  custom: {
    50: '#e2ef9f',
    500: '#d2e875',
    950: '#000000',
  },
}
SCSS
$custom: #d2e875;
$custom-light: #e2ef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e875",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 117
  },
  "hsl": {
    "h": 71.478,
    "s": 71.429,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89087,
    "c": 0.14289,
    "h": 118.3
  },
  "luminance": 0.72699
}

Semantic roles & 50–950 ramp

primary
#D2E875
secondary
#5A41C0
accent
#12D337
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D2E875

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

Preview Lab → · Contrast checker → · Palette generator →

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