#C8F04F#C8F04F

#C8F04F is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 89.7% C 0.187 H 122.3°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#C8F04F
RGBrgb(200, 240, 79)
HSLhsl(75, 84%, 63%)
HSVhsv(75, 67%, 94%)
CMYKcmyk(16.7%, 0%, 67.1%, 5.9%)
CIE-LABlab(89.47, -34.47, 70.21)
CIE-LCHlch(89.47, 78.22, 116.15°)
OKLaboklab(89.74% -0.1003 0.1584)
OKLCHoklch(89.74% 0.187 122.3)
XYZxyz(56.3915, 75.1639, 18.9329)
Luminance0.7516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F04F #774FF0
analogous
#F0C84F #C8F04F #77F04F
triadic
#C8F04F #4FC8F0 #F04FC8
tetradic
#C8F04F #4FF0C8 #774FF0 #F04F77
square
#C8F04F #4FF0C8 #774FF0 #F04F77
split-complementary
#C8F04F #4F77F0 #C84FF0
monochromatic
#8CB50F #B6EB17 #C8F04F #DAF587 #EBFAC0

Accessibility & contrast

On white

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

On black

16.03
#C8F04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F04F
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F04F#FFFFFF#000000##000000
##C8F04F1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE237
Deuteranopia (green-blind)
#F9E15C
Tritanopia (blue-blind)
#D2E4D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c8f04f;
/* rgb */ color: rgb(200, 240, 79);
/* oklch */ color: oklch(89.7% 0.187 122.3);
Tailwind
colors: {
  custom: {
    50: '#dcf589',
    500: '#c8f04f',
    950: '#000000',
  },
}
SCSS
$custom: #c8f04f;
$custom-light: #dcf589;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f04f",
  "rgb": {
    "r": 200,
    "g": 240,
    "b": 79
  },
  "hsl": {
    "h": 74.907,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89744,
    "c": 0.18744,
    "h": 122.3
  },
  "luminance": 0.75164
}

Semantic roles & 50–950 ramp

primary
#C8F04F
secondary
#502FB5
accent
#05E13B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C8F04F

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

Preview Lab → · Contrast checker → · Palette generator →

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