#C4E797#C4E797

#C4E797 is a very light, moderate yellow-green. Relative luminance 0.711; OKLCH L 88.4% C 0.111 H 127.7°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#C4E797
RGBrgb(196, 231, 151)
HSLhsl(86, 63%, 75%)
HSVhsv(86, 35%, 91%)
CMYKcmyk(15.2%, 0%, 34.6%, 9.4%)
CIE-LABlab(87.54, -24.85, 35.28)
CIE-LCHlch(87.54, 43.15, 125.15°)
OKLaboklab(88.39% -0.0677 0.0876)
OKLCHoklch(88.39% 0.111 127.7)
XYZxyz(56.9260, 71.1214, 40.0009)
Luminance0.7112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4E797 #BA97E7
analogous
#E7E297 #C4E797 #9CE797
triadic
#C4E797 #97C4E7 #E797C4
tetradic
#C4E797 #97E7E2 #BA97E7 #E7979C
square
#C4E797 #97E7E2 #BA97E7 #E7979C
split-complementary
#C4E797 #979CE7 #E297E7
monochromatic
#8CD034 #A8DC65 #C4E797 #E0F2C9 #F1F9E6

Accessibility & contrast

On white

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

On black

15.22
#C4E797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4E797
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4E797#FFFFFF#000000##000000
##C4E7971.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4e797;
/* rgb */ color: rgb(196, 231, 151);
/* oklch */ color: oklch(88.4% 0.111 127.7);
Tailwind
colors: {
  custom: {
    50: '#d7eeb6',
    500: '#c4e797',
    950: '#000000',
  },
}
SCSS
$custom: #c4e797;
$custom-light: #d7eeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c4e797",
  "rgb": {
    "r": 196,
    "g": 231,
    "b": 151
  },
  "hsl": {
    "h": 86.25,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.88387,
    "c": 0.11069,
    "h": 127.7
  },
  "luminance": 0.71122
}

Semantic roles & 50–950 ramp

primary
#C4E797
secondary
#8B61C1
accent
#1BCA68
background
#FEFFFD
surface
#FBFEF8
border
#D4D6D1
text
#141611
muted
#838581

Preview Lab

Preview with #C4E797

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

Preview Lab → · Contrast checker → · Palette generator →

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