#C5F478#C5F478

#C5F478 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 90.8% C 0.161 H 126.6°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#C5F478
RGBrgb(197, 244, 120)
HSLhsl(83, 85%, 71%)
HSVhsv(83, 51%, 96%)
CMYKcmyk(19.3%, 0%, 50.8%, 4.3%)
CIE-LABlab(90.75, -34.16, 54.32)
CIE-LCHlch(90.75, 64.17, 122.16°)
OKLaboklab(90.84% -0.0957 0.129)
OKLCHoklch(90.84% 0.161 126.6)
XYZxyz(58.7666, 77.9270, 29.7110)
Luminance0.7793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F478 #A778F4
analogous
#F4E578 #C5F478 #87F478
triadic
#C5F478 #78C5F4 #F478C5
tetradic
#C5F478 #78F4E5 #A778F4 #F47887
square
#C5F478 #78F4E5 #A778F4 #F47887
split-complementary
#C5F478 #7887F4 #E578F4
monochromatic
#92DF12 #ADEF3F #C5F478 #DDF9B1 #F3FDE3

Accessibility & contrast

On white

1.27
#C5F478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#C5F478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F478
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F478#FFFFFF#000000##000000
##C5F4781.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66D
Deuteranopia (green-blind)
#F8E480
Tritanopia (blue-blind)
#CBEAD8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #c5f478;
/* rgb */ color: rgb(197, 244, 120);
/* oklch */ color: oklch(90.8% 0.161 126.6);
Tailwind
colors: {
  custom: {
    50: '#d9f8a2',
    500: '#c5f478',
    950: '#000000',
  },
}
SCSS
$custom: #c5f478;
$custom-light: #d9f8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f478",
  "rgb": {
    "r": 197,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 82.742,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90843,
    "c": 0.16061,
    "h": 126.6
  },
  "luminance": 0.77928
}

Semantic roles & 50–950 ramp

primary
#C5F478
secondary
#7741CF
accent
#04E158
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C5F478

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

Preview Lab → · Contrast checker → · Palette generator →

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