#C7F397#C7F397

#C7F397 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.2% C 0.127 H 129.4°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#C7F397
RGBrgb(199, 243, 151)
HSLhsl(89, 79%, 77%)
HSVhsv(89, 38%, 95%)
CMYKcmyk(18.1%, 0%, 37.9%, 4.7%)
CIE-LABlab(91.00, -29.46, 39.82)
CIE-LCHlch(91.00, 49.54, 126.49°)
OKLaboklab(91.21% -0.0807 0.0981)
OKLCHoklch(91.21% 0.127 129.4)
XYZxyz(61.1888, 78.4768, 41.1960)
Luminance0.7848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F397 #C397F3
analogous
#F3F197 #C7F397 #99F397
triadic
#C7F397 #97C7F3 #F397C7
tetradic
#C7F397 #97F3F1 #C397F3 #F39799
square
#C7F397 #97F3F1 #C397F3 #F39799
split-complementary
#C7F397 #9799F3 #F197F3
monochromatic
#8CE629 #A9ED60 #C7F397 #E5F9CE #F0FCE4

Accessibility & contrast

On white

1.26
#C7F397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#C7F397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F397
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F397#FFFFFF#000000##000000
##C7F3971.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE790
Deuteranopia (green-blind)
#F5E49C
Tritanopia (blue-blind)
#CAECDC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #c7f397;
/* rgb */ color: rgb(199, 243, 151);
/* oklch */ color: oklch(91.2% 0.127 129.4);
Tailwind
colors: {
  custom: {
    50: '#d9f7b6',
    500: '#c7f397',
    950: '#000000',
  },
}
SCSS
$custom: #c7f397;
$custom-light: #d9f7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f397",
  "rgb": {
    "r": 199,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 88.696,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91206,
    "c": 0.12704,
    "h": 129.4
  },
  "luminance": 0.78478
}

Semantic roles & 50–950 ramp

primary
#C7F397
secondary
#955DD1
accent
#0ADC6E
background
#FEFFFD
surface
#FBFEF8
border
#D4D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #C7F397

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

Preview Lab → · Contrast checker → · Palette generator →

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