#C7F54A#C7F54A

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

Color values

HEX#C7F54A
RGBrgb(199, 245, 74)
HSLhsl(76, 90%, 63%)
HSVhsv(76, 70%, 96%)
CMYKcmyk(18.8%, 0%, 69.8%, 3.9%)
CIE-LABlab(90.75, -37.41, 73.29)
CIE-LCHlch(90.75, 82.29, 117.04°)
OKLaboklab(90.75% -0.1087 0.1641)
OKLCHoklch(90.75% 0.197 123.5)
XYZxyz(57.4422, 77.9410, 18.4951)
Luminance0.7794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F54A #784AF5
analogous
#F5CD4A #C7F54A #72F54A
triadic
#C7F54A #4AC7F5 #F54AC7
tetradic
#C7F54A #4AF5CD #784AF5 #F54A72
square
#C7F54A #4AF5CD #784AF5 #F54A72
split-complementary
#C7F54A #4A72F5 #CD4AF5
monochromatic
#8BBA0A #B5F210 #C7F54A #D9F884 #EBFBBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7F54A#FFFFFF#000000##000000
##C7F54A1.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)
#FFE62D
Deuteranopia (green-blind)
#FDE459
Tritanopia (blue-blind)
#D1E9D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #c7f54a;
/* rgb */ color: rgb(199, 245, 74);
/* oklch */ color: oklch(90.8% 0.197 123.5);
Tailwind
colors: {
  custom: {
    50: '#dcf886',
    500: '#c7f54a',
    950: '#000000',
  },
}
SCSS
$custom: #c7f54a;
$custom-light: #dcf886;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f54a",
  "rgb": {
    "r": 199,
    "g": 245,
    "b": 74
  },
  "hsl": {
    "h": 76.14,
    "s": 89.529,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90753,
    "c": 0.19688,
    "h": 123.5
  },
  "luminance": 0.77941
}

Semantic roles & 50–950 ramp

primary
#C7F54A
secondary
#512AB9
accent
#00E63E
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C7F54A

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

Preview Lab → · Contrast checker → · Palette generator →

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