#C8F158#C8F158

#C8F158 is a very light, vivid yellow-green. Relative luminance 0.759; OKLCH L 90.0% C 0.182 H 122.9°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#C8F158
RGBrgb(200, 241, 88)
HSLhsl(76, 85%, 65%)
HSVhsv(76, 63%, 95%)
CMYKcmyk(17%, 0%, 63.5%, 5.5%)
CIE-LABlab(89.81, -34.34, 67.11)
CIE-LCHlch(89.81, 75.38, 117.10°)
OKLaboklab(90.04% -0.0991 0.1531)
OKLCHoklch(90.04% 0.182 122.9)
XYZxyz(57.0367, 75.8943, 20.8748)
Luminance0.7590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F158 #8158F1
analogous
#F1CD58 #C8F158 #7CF158
triadic
#C8F158 #58C8F1 #F158C8
tetradic
#C8F158 #58F1CD #8158F1 #F1587C
square
#C8F158 #58F1CD #8158F1 #F1587C
split-complementary
#C8F158 #587CF1 #CD58F1
monochromatic
#90BF10 #B5EC20 #C8F158 #DBF690 #EDFAC9

Accessibility & contrast

On white

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

On black

16.18
#C8F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F158
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F158#FFFFFF#000000##000000
##C8F1581.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8f158;
/* rgb */ color: rgb(200, 241, 88);
/* oklch */ color: oklch(90.0% 0.182 122.9);
Tailwind
colors: {
  custom: {
    50: '#dcf58e',
    500: '#c8f158',
    950: '#000000',
  },
}
SCSS
$custom: #c8f158;
$custom-light: #dcf58e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f158",
  "rgb": {
    "r": 200,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 76.078,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90039,
    "c": 0.18236,
    "h": 122.9
  },
  "luminance": 0.75895
}

Semantic roles & 50–950 ramp

primary
#C8F158
secondary
#5630BD
accent
#05E140
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C8F158

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

Preview Lab → · Contrast checker → · Palette generator →

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