#C5F256#C5F256

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

Color values

HEX#C5F256
RGBrgb(197, 242, 86)
HSLhsl(77, 86%, 64%)
HSVhsv(77, 64%, 95%)
CMYKcmyk(18.6%, 0%, 64.5%, 5.1%)
CIE-LABlab(89.88, -36.08, 67.91)
CIE-LCHlch(89.88, 76.90, 117.98°)
OKLaboklab(90.04% -0.1039 0.1546)
OKLCHoklch(90.04% 0.186 123.9)
XYZxyz(56.4582, 76.0461, 20.5063)
Luminance0.7605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F256 #8356F2
analogous
#F2D156 #C5F256 #77F256
triadic
#C5F256 #56C5F2 #F256C5
tetradic
#C5F256 #56F2D1 #8356F2 #F25677
square
#C5F256 #56F2D1 #8356F2 #F25677
split-complementary
#C5F256 #5677F2 #D156F2
monochromatic
#8CBF0F #B1EE1D #C5F256 #D9F68F #ECFBC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5F256#FFFFFF#000000##000000
##C5F2561.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)
#FFE341
Deuteranopia (green-blind)
#F9E262
Tritanopia (blue-blind)
#CEE7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c5f256;
/* rgb */ color: rgb(197, 242, 86);
/* oklch */ color: oklch(90.0% 0.186 123.9);
Tailwind
colors: {
  custom: {
    50: '#daf68d',
    500: '#c5f256',
    950: '#000000',
  },
}
SCSS
$custom: #c5f256;
$custom-light: #daf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f256",
  "rgb": {
    "r": 197,
    "g": 242,
    "b": 86
  },
  "hsl": {
    "h": 77.308,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90043,
    "c": 0.18625,
    "h": 123.9
  },
  "luminance": 0.76046
}

Semantic roles & 50–950 ramp

primary
#C5F256
secondary
#582FBD
accent
#03E244
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F256

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

Preview Lab → · Contrast checker → · Palette generator →

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