#C8F152#C8F152

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

Color values

HEX#C8F152
RGBrgb(200, 241, 82)
HSLhsl(75, 85%, 63%)
HSVhsv(75, 66%, 95%)
CMYKcmyk(17%, 0%, 66%, 5.5%)
CIE-LABlab(89.77, -34.74, 69.39)
CIE-LCHlch(89.77, 77.60, 116.59°)
OKLaboklab(89.99% -0.1007 0.1571)
OKLCHoklch(89.99% 0.187 122.7)
XYZxyz(56.7983, 75.7989, 19.6194)
Luminance0.7580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F152 #7B52F1
analogous
#F1CB52 #C8F152 #78F152
triadic
#C8F152 #52C8F1 #F152C8
tetradic
#C8F152 #52F1CB #7B52F1 #F15278
square
#C8F152 #52F1CB #7B52F1 #F15278
split-complementary
#C8F152 #5278F1 #CB52F1
monochromatic
#8EBA0F #B6EC19 #C8F152 #DAF68B #ECFAC3

Accessibility & contrast

On white

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

On black

16.16
#C8F152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F152
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F152#FFFFFF#000000##000000
##C8F1521.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33B
Deuteranopia (green-blind)
#F9E25E
Tritanopia (blue-blind)
#D2E5D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c8f152;
/* rgb */ color: rgb(200, 241, 82);
/* oklch */ color: oklch(90.0% 0.187 122.7);
Tailwind
colors: {
  custom: {
    50: '#dcf58a',
    500: '#c8f152',
    950: '#000000',
  },
}
SCSS
$custom: #c8f152;
$custom-light: #dcf58a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f152",
  "rgb": {
    "r": 200,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 75.472,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89989,
    "c": 0.1866,
    "h": 122.7
  },
  "luminance": 0.75799
}

Semantic roles & 50–950 ramp

primary
#C8F152
secondary
#522FB8
accent
#04E23D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C8F152

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

Preview Lab → · Contrast checker → · Palette generator →

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