#C7F158#C7F158

#C7F158 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 90.0% C 0.183 H 123.2°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#C7F158
RGBrgb(199, 241, 88)
HSLhsl(76, 85%, 65%)
HSVhsv(76, 63%, 95%)
CMYKcmyk(17.4%, 0%, 63.5%, 5.5%)
CIE-LABlab(89.75, -34.72, 67.02)
CIE-LCHlch(89.75, 75.48, 117.39°)
OKLaboklab(89.97% -0.1001 0.1529)
OKLCHoklch(89.97% 0.183 123.2)
XYZxyz(56.7704, 75.7570, 20.8624)
Luminance0.7576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F158 #8258F1
analogous
#F1CF58 #C7F158 #7AF158
triadic
#C7F158 #58C7F1 #F158C7
tetradic
#C7F158 #58F1CF #8258F1 #F1587A
square
#C7F158 #58F1CF #8258F1 #F1587A
split-complementary
#C7F158 #587AF1 #CF58F1
monochromatic
#8FBF10 #B4EC20 #C7F158 #DAF690 #EDFAC9

Accessibility & contrast

On white

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

On black

16.15
#C7F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F158
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F158#FFFFFF#000000##000000
##C7F1581.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7f158;
/* rgb */ color: rgb(199, 241, 88);
/* oklch */ color: oklch(90.0% 0.183 123.2);
Tailwind
colors: {
  custom: {
    50: '#dbf58e',
    500: '#c7f158',
    950: '#000000',
  },
}
SCSS
$custom: #c7f158;
$custom-light: #dbf58e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f158",
  "rgb": {
    "r": 199,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 76.471,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89972,
    "c": 0.18276,
    "h": 123.2
  },
  "luminance": 0.75757
}

Semantic roles & 50–950 ramp

primary
#C7F158
secondary
#5730BD
accent
#05E141
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C7F158

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

Preview Lab → · Contrast checker → · Palette generator →

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