#D4E798#D4E798

#D4E798 is a very light, moderate yellow-green. Relative luminance 0.734; OKLCH L 89.5% C 0.104 H 119.5°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#D4E798
RGBrgb(212, 231, 152)
HSLhsl(74, 62%, 75%)
HSVhsv(74, 34%, 91%)
CMYKcmyk(8.2%, 0%, 34.2%, 9.4%)
CIE-LABlab(88.65, -18.84, 36.43)
CIE-LCHlch(88.65, 41.01, 117.35°)
OKLaboklab(89.55% -0.0511 0.0902)
OKLCHoklch(89.55% 0.104 119.5)
XYZxyz(61.3946, 73.4161, 40.6360)
Luminance0.7342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E798 #AB98E7
analogous
#E7D298 #D4E798 #ADE798
triadic
#D4E798 #98D4E7 #E798D4
tetradic
#D4E798 #98E7D2 #AB98E7 #E798AD
square
#D4E798 #98E7D2 #AB98E7 #E798AD
split-complementary
#D4E798 #98ADE7 #D298E7
monochromatic
#ABD035 #BFDB66 #D4E798 #E9F3CA #F5F9E6

Accessibility & contrast

On white

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

On black

15.68
#D4E798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E798
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E798#FFFFFF#000000##000000
##D4E7981.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DF92
Deuteranopia (green-blind)
#EEDF9C
Tritanopia (blue-blind)
#DBDFD3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e798;
/* rgb */ color: rgb(212, 231, 152);
/* oklch */ color: oklch(89.5% 0.104 119.5);
Tailwind
colors: {
  custom: {
    50: '#e2eeb7',
    500: '#d4e798',
    950: '#000000',
  },
}
SCSS
$custom: #d4e798;
$custom-light: #e2eeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e798",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 74.43,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.89547,
    "c": 0.10368,
    "h": 119.5
  },
  "luminance": 0.73416
}

Semantic roles & 50–950 ramp

primary
#D4E798
secondary
#7962C1
accent
#1CCA45
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D4E798

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

Preview Lab → · Contrast checker → · Palette generator →

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