#D2E798#D2E798

#D2E798 is a very light, moderate yellow-green. Relative luminance 0.731; OKLCH L 89.4% C 0.104 H 120.7°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#D2E798
RGBrgb(210, 231, 152)
HSLhsl(76, 62%, 75%)
HSVhsv(76, 34%, 91%)
CMYKcmyk(9.1%, 0%, 34.2%, 9.4%)
CIE-LABlab(88.51, -19.59, 36.22)
CIE-LCHlch(88.51, 41.18, 118.40°)
OKLaboklab(89.4% -0.0532 0.0897)
OKLCHoklch(89.4% 0.104 120.7)
XYZxyz(60.8215, 73.1206, 40.6092)
Luminance0.7312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E798 #AD98E7
analogous
#E7D498 #D2E798 #ABE798
triadic
#D2E798 #98D2E7 #E798D2
tetradic
#D2E798 #98E7D4 #AD98E7 #E798AB
square
#D2E798 #98E7D4 #AD98E7 #E798AB
split-complementary
#D2E798 #98ABE7 #D498E7
monochromatic
#A7D035 #BCDB66 #D2E798 #E8F3CA #F4F9E6

Accessibility & contrast

On white

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

On black

15.62
#D2E798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E798
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E798#FFFFFF#000000##000000
##D2E7981.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE92
Deuteranopia (green-blind)
#EEDE9C
Tritanopia (blue-blind)
#D9DFD3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e798;
/* rgb */ color: rgb(210, 231, 152);
/* oklch */ color: oklch(89.4% 0.104 120.7);
Tailwind
colors: {
  custom: {
    50: '#e0eeb7',
    500: '#d2e798',
    950: '#000000',
  },
}
SCSS
$custom: #d2e798;
$custom-light: #e0eeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e798",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 75.949,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.894,
    "c": 0.1043,
    "h": 120.7
  },
  "luminance": 0.7312
}

Semantic roles & 50–950 ramp

primary
#D2E798
secondary
#7B62C1
accent
#1CCA4A
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D2E798

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

Preview Lab → · Contrast checker → · Palette generator →

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