#C5F370#C5F370

#C5F370 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.5% C 0.167 H 125.7°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#C5F370
RGBrgb(197, 243, 112)
HSLhsl(81, 85%, 70%)
HSVhsv(81, 54%, 95%)
CMYKcmyk(18.9%, 0%, 53.9%, 4.7%)
CIE-LABlab(90.39, -34.46, 57.53)
CIE-LCHlch(90.39, 67.06, 120.92°)
OKLaboklab(90.53% -0.0971 0.1353)
OKLCHoklch(90.53% 0.167 125.7)
XYZxyz(58.0012, 77.1407, 27.1600)
Luminance0.7714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F370 #9E70F3
analogous
#F3E070 #C5F370 #84F370
triadic
#C5F370 #70C5F3 #F370C5
tetradic
#C5F370 #70F3E0 #9E70F3 #F37084
square
#C5F370 #70F3E0 #9E70F3 #F37084
split-complementary
#C5F370 #7084F3 #E070F3
monochromatic
#92D712 #AEEE38 #C5F370 #DCF8A8 #F3FCE1

Accessibility & contrast

On white

1.28
#C5F370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#C5F370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F370
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F370#FFFFFF#000000##000000
##C5F3701.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE563
Deuteranopia (green-blind)
#F8E378
Tritanopia (blue-blind)
#CCE9D6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c5f370;
/* rgb */ color: rgb(197, 243, 112);
/* oklch */ color: oklch(90.5% 0.167 125.7);
Tailwind
colors: {
  custom: {
    50: '#d9f79d',
    500: '#c5f370',
    950: '#000000',
  },
}
SCSS
$custom: #c5f370;
$custom-light: #d9f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f370",
  "rgb": {
    "r": 197,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 81.069,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90525,
    "c": 0.16658,
    "h": 125.7
  },
  "luminance": 0.77141
}

Semantic roles & 50–950 ramp

primary
#C5F370
secondary
#6E3BCD
accent
#05E152
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C5F370

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

Preview Lab → · Contrast checker → · Palette generator →

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