#D2F198#D2F198

#D2F198 is a very light, moderate yellow-green. Relative luminance 0.789; OKLCH L 91.5% C 0.118 H 124.3°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#D2F198
RGBrgb(210, 241, 152)
HSLhsl(81, 76%, 77%)
HSVhsv(81, 37%, 95%)
CMYKcmyk(12.9%, 0%, 36.9%, 5.5%)
CIE-LABlab(91.18, -24.42, 39.70)
CIE-LCHlch(91.18, 46.61, 121.59°)
OKLaboklab(91.54% -0.0668 0.0978)
OKLCHoklch(91.54% 0.118 124.3)
XYZxyz(63.7007, 78.8789, 41.5689)
Luminance0.7888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F198 #B798F1
analogous
#F1E498 #D2F198 #A6F198
triadic
#D2F198 #98D2F1 #F198D2
tetradic
#D2F198 #98F1E4 #B798F1 #F198A6
square
#D2F198 #98F1E4 #B798F1 #F198A6
split-complementary
#D2F198 #98A6F1 #E498F1
monochromatic
#A3E22C #BAEA62 #D2F198 #EAF8CE #F3FBE4

Accessibility & contrast

On white

1.25
#D2F198 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#D2F198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F198
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F198#FFFFFF#000000##000000
##D2F1981.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE792
Deuteranopia (green-blind)
#F6E59C
Tritanopia (blue-blind)
#D8E9DB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d2f198;
/* rgb */ color: rgb(210, 241, 152);
/* oklch */ color: oklch(91.5% 0.118 124.3);
Tailwind
colors: {
  custom: {
    50: '#e1f5b7',
    500: '#d2f198',
    950: '#000000',
  },
}
SCSS
$custom: #d2f198;
$custom-light: #e1f5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f198",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 152
  },
  "hsl": {
    "h": 80.899,
    "s": 76.068,
    "l": 77.059
  },
  "oklch": {
    "l": 0.91538,
    "c": 0.11846,
    "h": 124.3
  },
  "luminance": 0.78879
}

Semantic roles & 50–950 ramp

primary
#D2F198
secondary
#865FCE
accent
#0DD854
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2F198

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

Preview Lab → · Contrast checker → · Palette generator →

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