#C7F151#C7F151

#C7F151 is a very light, vivid yellow-green. Relative luminance 0.756; OKLCH L 89.9% C 0.188 H 122.9°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#C7F151
RGBrgb(199, 241, 81)
HSLhsl(76, 85%, 63%)
HSVhsv(76, 66%, 95%)
CMYKcmyk(17.4%, 0%, 66.4%, 5.5%)
CIE-LABlab(89.69, -35.19, 69.68)
CIE-LCHlch(89.69, 78.06, 116.79°)
OKLaboklab(89.91% -0.102 0.1576)
OKLCHoklch(89.91% 0.188 122.9)
XYZxyz(56.4943, 75.6465, 19.4080)
Luminance0.7565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F151 #7B51F1
analogous
#F1CB51 #C7F151 #77F151
triadic
#C7F151 #51C7F1 #F151C7
tetradic
#C7F151 #51F1CB #7B51F1 #F15177
square
#C7F151 #51F1CB #7B51F1 #F15177
split-complementary
#C7F151 #5177F1 #CB51F1
monochromatic
#8CB90F #B5EC18 #C7F151 #D9F68A #EBFAC2

Accessibility & contrast

On white

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

On black

16.13
#C7F151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F151
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F151#FFFFFF#000000##000000
##C7F1511.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33A
Deuteranopia (green-blind)
#F9E15E
Tritanopia (blue-blind)
#D1E5D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c7f151;
/* rgb */ color: rgb(199, 241, 81);
/* oklch */ color: oklch(89.9% 0.188 122.9);
Tailwind
colors: {
  custom: {
    50: '#dbf58a',
    500: '#c7f151',
    950: '#000000',
  },
}
SCSS
$custom: #c7f151;
$custom-light: #dbf58a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f151",
  "rgb": {
    "r": 199,
    "g": 241,
    "b": 81
  },
  "hsl": {
    "h": 75.75,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89914,
    "c": 0.18769,
    "h": 122.9
  },
  "luminance": 0.75647
}

Semantic roles & 50–950 ramp

primary
#C7F151
secondary
#532FB8
accent
#04E23E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C7F151

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

Preview Lab → · Contrast checker → · Palette generator →

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