#C5F04F#C5F04F

#C5F04F is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.5% C 0.189 H 123.2°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#C5F04F
RGBrgb(197, 240, 79)
HSLhsl(76, 84%, 63%)
HSVhsv(76, 67%, 94%)
CMYKcmyk(17.9%, 0%, 67.1%, 5.9%)
CIE-LABlab(89.28, -35.62, 69.96)
CIE-LCHlch(89.28, 78.50, 116.99°)
OKLaboklab(89.54% -0.1033 0.1579)
OKLCHoklch(89.54% 0.189 123.2)
XYZxyz(55.5979, 74.7547, 18.8957)
Luminance0.7476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F04F #7A4FF0
analogous
#F0CB4F #C5F04F #74F04F
triadic
#C5F04F #4FC5F0 #F04FC5
tetradic
#C5F04F #4FF0CB #7A4FF0 #F04F74
square
#C5F04F #4FF0CB #7A4FF0 #F04F74
split-complementary
#C5F04F #4F74F0 #CB4FF0
monochromatic
#89B50F #B2EB17 #C5F04F #D8F587 #EAFAC0

Accessibility & contrast

On white

1.32
#C5F04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#C5F04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F04F
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F04F#FFFFFF#000000##000000
##C5F04F1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE237
Deuteranopia (green-blind)
#F8E05C
Tritanopia (blue-blind)
#CEE4D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #c5f04f;
/* rgb */ color: rgb(197, 240, 79);
/* oklch */ color: oklch(89.5% 0.189 123.2);
Tailwind
colors: {
  custom: {
    50: '#daf589',
    500: '#c5f04f',
    950: '#000000',
  },
}
SCSS
$custom: #c5f04f;
$custom-light: #daf589;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f04f",
  "rgb": {
    "r": 197,
    "g": 240,
    "b": 79
  },
  "hsl": {
    "h": 76.025,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8954,
    "c": 0.18868,
    "h": 123.2
  },
  "luminance": 0.74755
}

Semantic roles & 50–950 ramp

primary
#C5F04F
secondary
#522FB5
accent
#05E140
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C5F04F

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

Preview Lab → · Contrast checker → · Palette generator →

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