#C5F56C#C5F56C

#C5F56C is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 90.9% C 0.173 H 125.8°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#C5F56C
RGBrgb(197, 245, 108)
HSLhsl(81, 87%, 69%)
HSVhsv(81, 56%, 96%)
CMYKcmyk(19.6%, 0%, 55.9%, 3.9%)
CIE-LABlab(90.90, -35.73, 59.89)
CIE-LCHlch(90.90, 69.73, 120.82°)
OKLaboklab(90.92% -0.101 0.14)
OKLCHoklch(90.92% 0.173 125.8)
XYZxyz(58.3852, 78.2572, 26.2136)
Luminance0.7826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F56C #9C6CF5
analogous
#F5E16C #C5F56C #81F56C
triadic
#C5F56C #6CC5F5 #F56CC5
tetradic
#C5F56C #6CF5E1 #9C6CF5 #F56C81
square
#C5F56C #6CF5E1 #9C6CF5 #F56C81
split-complementary
#C5F56C #6C81F5 #E16CF5
monochromatic
#91D80F #AEF133 #C5F56C #DCF9A5 #F2FDDF

Accessibility & contrast

On white

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

On black

16.65
#C5F56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F56C
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F56C#FFFFFF#000000##000000
##C5F56C1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75E
Deuteranopia (green-blind)
#FAE475
Tritanopia (blue-blind)
#CCEBD7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #c5f56c;
/* rgb */ color: rgb(197, 245, 108);
/* oklch */ color: oklch(90.9% 0.173 125.8);
Tailwind
colors: {
  custom: {
    50: '#d9f89a',
    500: '#c5f56c',
    950: '#000000',
  },
}
SCSS
$custom: #c5f56c;
$custom-light: #d9f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f56c",
  "rgb": {
    "r": 197,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 81.022,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90924,
    "c": 0.17267,
    "h": 125.8
  },
  "luminance": 0.78258
}

Semantic roles & 50–950 ramp

primary
#C5F56C
secondary
#6C37CF
accent
#02E451
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C5F56C

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

Preview Lab → · Contrast checker → · Palette generator →

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