#D7EF98#D7EF98

#D7EF98 is a very light, moderate yellow-green. Relative luminance 0.784; OKLCH L 91.5% C 0.114 H 121.2°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#D7EF98
RGBrgb(215, 239, 152)
HSLhsl(77, 73%, 77%)
HSVhsv(77, 36%, 94%)
CMYKcmyk(10%, 0%, 36.4%, 6.3%)
CIE-LABlab(90.98, -21.62, 39.52)
CIE-LCHlch(90.98, 45.04, 118.68°)
OKLaboklab(91.47% -0.0591 0.0974)
OKLCHoklch(91.47% 0.114 121.2)
XYZxyz(64.5581, 78.4471, 41.4404)
Luminance0.7845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EF98 #B098EF
analogous
#EFDC98 #D7EF98 #ACEF98
triadic
#D7EF98 #98D7EF #EF98D7
tetradic
#D7EF98 #98EFDC #B098EF #EF98AC
square
#D7EF98 #98EFDC #B098EF #EF98AC
split-complementary
#D7EF98 #98ACEF #DC98EF
monochromatic
#AEDF2E #C2E763 #D7EF98 #ECF7CD #F5FBE5

Accessibility & contrast

On white

1.26
#D7EF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#D7EF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EF98
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EF98#FFFFFF#000000##000000
##D7EF981.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E692
Deuteranopia (green-blind)
#F6E59C
Tritanopia (blue-blind)
#DEE7D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d7ef98;
/* rgb */ color: rgb(215, 239, 152);
/* oklch */ color: oklch(91.5% 0.114 121.2);
Tailwind
colors: {
  custom: {
    50: '#e4f4b7',
    500: '#d7ef98',
    950: '#000000',
  },
}
SCSS
$custom: #d7ef98;
$custom-light: #e4f4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ef98",
  "rgb": {
    "r": 215,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 76.552,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.91467,
    "c": 0.11388,
    "h": 121.2
  },
  "luminance": 0.78447
}

Semantic roles & 50–950 ramp

primary
#D7EF98
secondary
#7D60CC
accent
#10D547
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #D7EF98

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

Preview Lab → · Contrast checker → · Palette generator →

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