#C5F255#C5F255

#C5F255 is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 90.0% C 0.187 H 123.9°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#C5F255
RGBrgb(197, 242, 85)
HSLhsl(77, 86%, 64%)
HSVhsv(77, 65%, 95%)
CMYKcmyk(18.6%, 0%, 64.9%, 5.1%)
CIE-LABlab(89.87, -36.14, 68.29)
CIE-LCHlch(89.87, 77.27, 117.89°)
OKLaboklab(90.03% -0.1042 0.1552)
OKLCHoklch(90.03% 0.187 123.9)
XYZxyz(56.4182, 76.0301, 20.2955)
Luminance0.7603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F255 #8255F2
analogous
#F2D055 #C5F255 #77F255
triadic
#C5F255 #55C5F2 #F255C5
tetradic
#C5F255 #55F2D0 #8255F2 #F25577
square
#C5F255 #55F2D0 #8255F2 #F25577
split-complementary
#C5F255 #5577F2 #D055F2
monochromatic
#8CBE0F #B2EE1C #C5F255 #D8F68E #ECFBC7

Accessibility & contrast

On white

1.30
#C5F255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#C5F255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F255
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F255#FFFFFF#000000##000000
##C5F2551.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE340
Deuteranopia (green-blind)
#F9E261
Tritanopia (blue-blind)
#CEE7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c5f255;
/* rgb */ color: rgb(197, 242, 85);
/* oklch */ color: oklch(90.0% 0.187 123.9);
Tailwind
colors: {
  custom: {
    50: '#daf68c',
    500: '#c5f255',
    950: '#000000',
  },
}
SCSS
$custom: #c5f255;
$custom-light: #daf68c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f255",
  "rgb": {
    "r": 197,
    "g": 242,
    "b": 85
  },
  "hsl": {
    "h": 77.197,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90034,
    "c": 0.18696,
    "h": 123.9
  },
  "luminance": 0.7603
}

Semantic roles & 50–950 ramp

primary
#C5F255
secondary
#572FBC
accent
#03E243
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F255

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

Preview Lab → · Contrast checker → · Palette generator →

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