#C5F17C#C5F17C

#C5F17C is a very light, vivid yellow-green. Relative luminance 0.762; OKLCH L 90.2% C 0.153 H 126.3°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#C5F17C
RGBrgb(197, 241, 124)
HSLhsl(83, 81%, 72%)
HSVhsv(83, 49%, 95%)
CMYKcmyk(18.3%, 0%, 48.5%, 5.5%)
CIE-LABlab(89.97, -32.37, 51.53)
CIE-LCHlch(89.97, 60.86, 122.14°)
OKLaboklab(90.23% -0.0904 0.1232)
OKLCHoklch(90.23% 0.153 126.3)
XYZxyz(58.1191, 76.2355, 30.7179)
Luminance0.7624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F17C #A87CF1
analogous
#F1E37C #C5F17C #8BF17C
triadic
#C5F17C #7CC5F1 #F17CC5
tetradic
#C5F17C #7CF1E3 #A87CF1 #F17C8B
square
#C5F17C #7CF1E3 #A87CF1 #F17C8B
split-complementary
#C5F17C #7C8BF1 #E37CF1
monochromatic
#92DB17 #ADEB45 #C5F17C #DDF7B3 #F3FCE3

Accessibility & contrast

On white

1.29
#C5F17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#C5F17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F17C
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F17C#FFFFFF#000000##000000
##C5F17C1.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE472
Deuteranopia (green-blind)
#F5E283
Tritanopia (blue-blind)
#CBE8D6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c5f17c;
/* rgb */ color: rgb(197, 241, 124);
/* oklch */ color: oklch(90.2% 0.153 126.3);
Tailwind
colors: {
  custom: {
    50: '#d8f5a4',
    500: '#c5f17c',
    950: '#000000',
  },
}
SCSS
$custom: #c5f17c;
$custom-light: #d8f5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f17c",
  "rgb": {
    "r": 197,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 82.564,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90231,
    "c": 0.15277,
    "h": 126.3
  },
  "luminance": 0.76236
}

Semantic roles & 50–950 ramp

primary
#C5F17C
secondary
#7846CB
accent
#08DD58
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C5F17C

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

Preview Lab → · Contrast checker → · Palette generator →

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