#C5F795#C5F795

#C5F795 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.9% C 0.136 H 130.7°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#C5F795
RGBrgb(197, 247, 149)
HSLhsl(91, 86%, 78%)
HSVhsv(91, 40%, 97%)
CMYKcmyk(20.2%, 0%, 39.7%, 3.1%)
CIE-LABlab(91.94, -32.28, 41.99)
CIE-LCHlch(91.94, 52.97, 127.55°)
OKLaboklab(91.92% -0.0886 0.103)
OKLCHoklch(91.92% 0.136 130.7)
XYZxyz(61.7106, 80.5606, 40.7265)
Luminance0.8056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F795 #C795F7
analogous
#F6F795 #C5F795 #95F796
triadic
#C5F795 #95C5F7 #F795C5
tetradic
#C5F795 #95F6F7 #C795F7 #F79695
square
#C5F795 #95F6F7 #C795F7 #F79695
split-complementary
#C5F795 #9695F7 #F795F6
monochromatic
#87EE23 #A6F35C #C5F795 #E4FBCE #EFFDE3

Accessibility & contrast

On white

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

On black

17.11
#C5F795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F795
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F795#FFFFFF#000000##000000
##C5F7951.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA8E
Deuteranopia (green-blind)
#F8E79A
Tritanopia (blue-blind)
#C8EFDF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c5f795;
/* rgb */ color: rgb(197, 247, 149);
/* oklch */ color: oklch(91.9% 0.136 130.7);
Tailwind
colors: {
  custom: {
    50: '#d8fab5',
    500: '#c5f795',
    950: '#000000',
  },
}
SCSS
$custom: #c5f795;
$custom-light: #d8fab5;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f795",
  "rgb": {
    "r": 197,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 90.612,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.9192,
    "c": 0.1359,
    "h": 130.7
  },
  "luminance": 0.80562
}

Semantic roles & 50–950 ramp

primary
#C5F795
secondary
#995AD6
accent
#03E275
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C5F795

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

Preview Lab → · Contrast checker → · Palette generator →

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