#C4F798#C4F798

#C4F798 is a very light, vivid yellow-green. Relative luminance 0.805; OKLCH L 91.9% C 0.133 H 131.6°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#C4F798
RGBrgb(196, 247, 152)
HSLhsl(92, 86%, 78%)
HSVhsv(92, 38%, 97%)
CMYKcmyk(20.6%, 0%, 38.5%, 3.1%)
CIE-LABlab(91.92, -32.26, 40.49)
CIE-LCHlch(91.92, 51.77, 128.54°)
OKLaboklab(91.91% -0.0884 0.0997)
OKLCHoklch(91.91% 0.133 131.6)
XYZxyz(61.6921, 80.5231, 41.9919)
Luminance0.8052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4F798 #CB98F7
analogous
#F3F798 #C4F798 #98F79B
triadic
#C4F798 #98C4F7 #F798C4
tetradic
#C4F798 #98F3F7 #CB98F7 #F79B98
square
#C4F798 #98F3F7 #CB98F7 #F79B98
split-complementary
#C4F798 #9B98F7 #F798F3
monochromatic
#83EE26 #A3F35F #C4F798 #E5FBD1 #EFFDE3

Accessibility & contrast

On white

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

On black

17.10
#C4F798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4F798
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4F798#FFFFFF#000000##000000
##C4F7981.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA91
Deuteranopia (green-blind)
#F7E69D
Tritanopia (blue-blind)
#C6F0DF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c4f798;
/* rgb */ color: rgb(196, 247, 152);
/* oklch */ color: oklch(91.9% 0.133 131.6);
Tailwind
colors: {
  custom: {
    50: '#d7fab7',
    500: '#c4f798',
    950: '#000000',
  },
}
SCSS
$custom: #c4f798;
$custom-light: #d7fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#c4f798",
  "rgb": {
    "r": 196,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 92.211,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.91905,
    "c": 0.13322,
    "h": 131.6
  },
  "luminance": 0.80524
}

Semantic roles & 50–950 ramp

primary
#C4F798
secondary
#9E5DD6
accent
#03E27B
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #C4F798

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

Preview Lab → · Contrast checker → · Palette generator →

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