#C8F04C#C8F04C

#C8F04C is a very light, vivid yellow-green. Relative luminance 0.751; OKLCH L 89.7% C 0.189 H 122.2°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#C8F04C
RGBrgb(200, 240, 76)
HSLhsl(75, 85%, 62%)
HSVhsv(75, 68%, 94%)
CMYKcmyk(16.7%, 0%, 68.3%, 5.9%)
CIE-LABlab(89.45, -34.65, 71.30)
CIE-LCHlch(89.45, 79.27, 115.92°)
OKLaboklab(89.72% -0.101 0.1602)
OKLCHoklch(89.72% 0.189 122.2)
XYZxyz(56.2847, 75.1212, 18.3707)
Luminance0.7512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F04C #744CF0
analogous
#F0C64C #C8F04C #76F04C
triadic
#C8F04C #4CC8F0 #F04CC8
tetradic
#C8F04C #4CF0C6 #744CF0 #F04C76
square
#C8F04C #4CF0C6 #744CF0 #F04C76
split-complementary
#C8F04C #4C76F0 #C64CF0
monochromatic
#8BB30F #B7EB14 #C8F04C #D9F584 #EBF9BD

Accessibility & contrast

On white

1.31
#C8F04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#C8F04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F04C
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F04C#FFFFFF#000000##000000
##C8F04C1.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE232
Deuteranopia (green-blind)
#F9E159
Tritanopia (blue-blind)
#D2E4CF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c8f04c;
/* rgb */ color: rgb(200, 240, 76);
/* oklch */ color: oklch(89.7% 0.189 122.2);
Tailwind
colors: {
  custom: {
    50: '#dcf587',
    500: '#c8f04c',
    950: '#000000',
  },
}
SCSS
$custom: #c8f04c;
$custom-light: #dcf587;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f04c",
  "rgb": {
    "r": 200,
    "g": 240,
    "b": 76
  },
  "hsl": {
    "h": 74.634,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.89721,
    "c": 0.1894,
    "h": 122.2
  },
  "luminance": 0.75121
}

Semantic roles & 50–950 ramp

primary
#C8F04C
secondary
#4E2EB2
accent
#04E13A
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C8F04C

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

Preview Lab → · Contrast checker → · Palette generator →

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