#D2EF98#D2EF98

#D2EF98 is a very light, moderate yellow-green. Relative luminance 0.777; OKLCH L 91.1% C 0.116 H 123.7°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#D2EF98
RGBrgb(210, 239, 152)
HSLhsl(80, 73%, 77%)
HSVhsv(80, 36%, 94%)
CMYKcmyk(12.1%, 0%, 36.4%, 6.3%)
CIE-LABlab(90.64, -23.46, 39.01)
CIE-LCHlch(90.64, 45.52, 121.02°)
OKLaboklab(91.11% -0.0641 0.0962)
OKLCHoklch(91.11% 0.116 123.7)
XYZxyz(63.1119, 77.7014, 41.3727)
Luminance0.7770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EF98 #B598EF
analogous
#EFE198 #D2EF98 #A7EF98
triadic
#D2EF98 #98D2EF #EF98D2
tetradic
#D2EF98 #98EFE1 #B598EF #EF98A7
square
#D2EF98 #98EFE1 #B598EF #EF98A7
split-complementary
#D2EF98 #98A7EF #E198EF
monochromatic
#A4DF2E #BBE763 #D2EF98 #E9F7CD #F3FBE5

Accessibility & contrast

On white

1.27
#D2EF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#D2EF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EF98
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EF98#FFFFFF#000000##000000
##D2EF981.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E592
Deuteranopia (green-blind)
#F4E49C
Tritanopia (blue-blind)
#D8E7D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2ef98;
/* rgb */ color: rgb(210, 239, 152);
/* oklch */ color: oklch(91.1% 0.116 123.7);
Tailwind
colors: {
  custom: {
    50: '#e1f4b7',
    500: '#d2ef98',
    950: '#000000',
  },
}
SCSS
$custom: #d2ef98;
$custom-light: #e1f4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ef98",
  "rgb": {
    "r": 210,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 80,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.91109,
    "c": 0.11562,
    "h": 123.7
  },
  "luminance": 0.77702
}

Semantic roles & 50–950 ramp

primary
#D2EF98
secondary
#8460CC
accent
#10D552
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2EF98

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

Preview Lab → · Contrast checker → · Palette generator →

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