#D2F398#D2F398

#D2F398 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 92.0% C 0.121 H 125.0°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#D2F398
RGBrgb(210, 243, 152)
HSLhsl(82, 79%, 77%)
HSVhsv(82, 37%, 95%)
CMYKcmyk(13.6%, 0%, 37.4%, 4.7%)
CIE-LABlab(91.72, -25.37, 40.40)
CIE-LCHlch(91.72, 47.71, 122.13°)
OKLaboklab(91.97% -0.0695 0.0994)
OKLCHoklch(91.97% 0.121 125)
XYZxyz(64.2960, 80.0694, 41.7673)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F398 #B998F3
analogous
#F3E698 #D2F398 #A5F398
triadic
#D2F398 #98D2F3 #F398D2
tetradic
#D2F398 #98F3E6 #B998F3 #F398A5
square
#D2F398 #98F3E6 #B998F3 #F398A5
split-complementary
#D2F398 #98A5F3 #E698F3
monochromatic
#A2E62A #BAED61 #D2F398 #EAF9CF #F3FCE4

Accessibility & contrast

On white

1.23
#D2F398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#D2F398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F398
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F398#FFFFFF#000000##000000
##D2F3981.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE891
Deuteranopia (green-blind)
#F8E79D
Tritanopia (blue-blind)
#D8EBDC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d2f398;
/* rgb */ color: rgb(210, 243, 152);
/* oklch */ color: oklch(92.0% 0.121 125.0);
Tailwind
colors: {
  custom: {
    50: '#e1f7b7',
    500: '#d2f398',
    950: '#000000',
  },
}
SCSS
$custom: #d2f398;
$custom-light: #e1f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f398",
  "rgb": {
    "r": 210,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 81.758,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91968,
    "c": 0.1213,
    "h": 125
  },
  "luminance": 0.8007
}

Semantic roles & 50–950 ramp

primary
#D2F398
secondary
#885ED1
accent
#0ADB56
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2F398

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

Preview Lab → · Contrast checker → · Palette generator →

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