#C7F152#C7F152

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

Color values

HEX#C7F152
RGBrgb(199, 241, 82)
HSLhsl(76, 85%, 63%)
HSVhsv(76, 66%, 95%)
CMYKcmyk(17.4%, 0%, 66%, 5.5%)
CIE-LABlab(89.70, -35.12, 69.31)
CIE-LCHlch(89.70, 77.70, 116.87°)
OKLaboklab(89.92% -0.1017 0.1569)
OKLCHoklch(89.92% 0.187 123)
XYZxyz(56.5321, 75.6617, 19.6069)
Luminance0.7566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F152 #7C52F1
analogous
#F1CB52 #C7F152 #77F152
triadic
#C7F152 #52C7F1 #F152C7
tetradic
#C7F152 #52F1CB #7C52F1 #F15277
square
#C7F152 #52F1CB #7C52F1 #F15277
split-complementary
#C7F152 #5277F1 #CB52F1
monochromatic
#8DBA0F #B5EC19 #C7F152 #D9F68B #ECFAC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7F152#FFFFFF#000000##000000
##C7F1521.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)
#FFE33B
Deuteranopia (green-blind)
#F9E15E
Tritanopia (blue-blind)
#D1E5D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c7f152;
/* rgb */ color: rgb(199, 241, 82);
/* oklch */ color: oklch(89.9% 0.187 123.0);
Tailwind
colors: {
  custom: {
    50: '#dbf58a',
    500: '#c7f152',
    950: '#000000',
  },
}
SCSS
$custom: #c7f152;
$custom-light: #dbf58a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f152",
  "rgb": {
    "r": 199,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 75.849,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89922,
    "c": 0.18702,
    "h": 123
  },
  "luminance": 0.75662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7F152

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

Preview Lab → · Contrast checker → · Palette generator →

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