#C5F258#C5F258

#C5F258 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.1% C 0.185 H 124.0°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#C5F258
RGBrgb(197, 242, 88)
HSLhsl(78, 86%, 65%)
HSVhsv(78, 64%, 95%)
CMYKcmyk(18.6%, 0%, 63.6%, 5.1%)
CIE-LABlab(89.90, -35.94, 67.14)
CIE-LCHlch(89.90, 76.16, 118.16°)
OKLaboklab(90.06% -0.1033 0.1532)
OKLCHoklch(90.06% 0.185 124)
XYZxyz(56.5400, 76.0787, 20.9366)
Luminance0.7608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F258 #8558F2
analogous
#F2D258 #C5F258 #78F258
triadic
#C5F258 #58C5F2 #F258C5
tetradic
#C5F258 #58F2D2 #8558F2 #F25878
square
#C5F258 #58F2D2 #8558F2 #F25878
split-complementary
#C5F258 #5878F2 #D258F2
monochromatic
#8DC10F #B1EE1F #C5F258 #D9F691 #ECFBCA

Accessibility & contrast

On white

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

On black

16.22
#C5F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F258
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F258#FFFFFF#000000##000000
##C5F2581.001.3016.2216.22
#FFFFFF1.301.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5f258;
/* rgb */ color: rgb(197, 242, 88);
/* oklch */ color: oklch(90.1% 0.185 124.0);
Tailwind
colors: {
  custom: {
    50: '#daf68e',
    500: '#c5f258',
    950: '#000000',
  },
}
SCSS
$custom: #c5f258;
$custom-light: #daf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f258",
  "rgb": {
    "r": 197,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 77.532,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.9006,
    "c": 0.1848,
    "h": 124
  },
  "luminance": 0.76079
}

Semantic roles & 50–950 ramp

primary
#C5F258
secondary
#5930BE
accent
#03E244
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F258

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

Preview Lab → · Contrast checker → · Palette generator →

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