#C7E397#C7E397

#C7E397 is a very light, moderate yellow-green. Relative luminance 0.693; OKLCH L 87.7% C 0.104 H 124.9°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#C7E397
RGBrgb(199, 227, 151)
HSLhsl(82, 58%, 74%)
HSVhsv(82, 33%, 89%)
CMYKcmyk(12.3%, 0%, 33.5%, 11%)
CIE-LABlab(86.66, -21.82, 34.16)
CIE-LCHlch(86.66, 40.53, 122.57°)
OKLaboklab(87.73% -0.0593 0.0849)
OKLCHoklch(87.73% 0.104 124.9)
XYZxyz(56.6076, 69.3144, 39.6689)
Luminance0.6932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E397 #B397E3
analogous
#E3D997 #C7E397 #A1E397
triadic
#C7E397 #97C7E3 #E397C7
tetradic
#C7E397 #97E3D9 #B397E3 #E397A1
square
#C7E397 #97E3D9 #B397E3 #E397A1
split-complementary
#C7E397 #97A1E3 #D997E3
monochromatic
#93C937 #ADD667 #C7E397 #E1F0C7 #F2F9E7

Accessibility & contrast

On white

1.41
#C7E397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#C7E397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E397
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E397#FFFFFF#000000##000000
##C7E3971.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDA92
Deuteranopia (green-blind)
#E7D99B
Tritanopia (blue-blind)
#CCDCD0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #c7e397;
/* rgb */ color: rgb(199, 227, 151);
/* oklch */ color: oklch(87.7% 0.104 124.9);
Tailwind
colors: {
  custom: {
    50: '#d9ebb6',
    500: '#c7e397',
    950: '#000000',
  },
}
SCSS
$custom: #c7e397;
$custom-light: #d9ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e397",
  "rgb": {
    "r": 199,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 82.105,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.8773,
    "c": 0.10356,
    "h": 124.9
  },
  "luminance": 0.69315
}

Semantic roles & 50–950 ramp

primary
#C7E397
secondary
#8362BC
accent
#20C55D
background
#FEFEFD
surface
#FBFDF8
border
#D4D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #C7E397

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

Preview Lab → · Contrast checker → · Palette generator →

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