#C4E798#C4E798

#C4E798 is a very light, moderate yellow-green. Relative luminance 0.712; OKLCH L 88.4% C 0.110 H 127.9°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#C4E798
RGBrgb(196, 231, 152)
HSLhsl(87, 62%, 75%)
HSVhsv(87, 34%, 91%)
CMYKcmyk(15.2%, 0%, 34.2%, 9.4%)
CIE-LABlab(87.56, -24.71, 34.80)
CIE-LCHlch(87.56, 42.68, 125.38°)
OKLaboklab(88.41% -0.0673 0.0865)
OKLCHoklch(88.41% 0.11 127.9)
XYZxyz(57.0076, 71.1540, 40.4304)
Luminance0.7116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4E798 #BB98E7
analogous
#E7E298 #C4E798 #9DE798
triadic
#C4E798 #98C4E7 #E798C4
tetradic
#C4E798 #98E7E2 #BB98E7 #E7989D
square
#C4E798 #98E7E2 #BB98E7 #E7989D
split-complementary
#C4E798 #989DE7 #E298E7
monochromatic
#8BD035 #A8DB66 #C4E798 #E0F3CA #F1F9E6

Accessibility & contrast

On white

1.38
#C4E798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#C4E798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4E798
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4E798#FFFFFF#000000##000000
##C4E7981.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD93
Deuteranopia (green-blind)
#EADB9C
Tritanopia (blue-blind)
#C8E0D3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c4e798;
/* rgb */ color: rgb(196, 231, 152);
/* oklch */ color: oklch(88.4% 0.110 127.9);
Tailwind
colors: {
  custom: {
    50: '#d7eeb7',
    500: '#c4e798',
    950: '#000000',
  },
}
SCSS
$custom: #c4e798;
$custom-light: #d7eeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c4e798",
  "rgb": {
    "r": 196,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 86.582,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.88405,
    "c": 0.10956,
    "h": 127.9
  },
  "luminance": 0.71155
}

Semantic roles & 50–950 ramp

primary
#C4E798
secondary
#8C62C1
accent
#1CCA69
background
#FEFFFD
surface
#FBFEF8
border
#D4D6D1
text
#141611
muted
#838581

Preview Lab

Preview with #C4E798

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

Preview Lab → · Contrast checker → · Palette generator →

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