Skip to content

#c2f45f

a light, electric green · warm · closest name: Green Yellow

RGB
194, 244, 95
HSL
80°, 87%, 67%
CMYK
21, 0, 61, 4
Luminance
0.7700

At a glance

Every number on this page in one read: what #c2f45f is made of, how bright it looks, and which way it leans.

Hex
#c2f45f
Hue
80°
green
Saturation
87%
electric
Lightness
67%
light
Brightness
96%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7700
WCAG relative
Temperature
Warm
42/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.40:1
Closest name
Green Yellow
ΔE2000 5
Where it sits
Hue80° of 360°
Saturation87%
Lightness67%
Temperature
Warm ← → Cool42% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#c2f45f
RGBrgb(194, 244, 95)
HSLhsl(80, 87%, 67%)
CMYKcmyk(21%, 0%, 61%, 4%)
LABlab(90.3 -37.5 64.7)
LCHlch(90.3 74.8 120.1)
OKLCHoklch(0.904 0.183 125.6)
Decimal12776543
Display P3color(display-p3 0.761 0.957 0.373)

Copy-ready code

/* CSS */
color: #c2f45f;
background-color: #c2f45f;
/* Tailwind (arbitrary) */
class="text-[#c2f45f] bg-[#c2f45f]"
/* SCSS */
$brand: #c2f45f;
/* SwiftUI */
Color(red: 0.761, green: 0.957, blue: 0.373)
/* Android */
Color.parseColor("#c2f45f")
/* Flutter */
Color(0xFFC2F45F)
/* Python / OpenCV (BGR) */
(95, 244, 194)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #c2f45f · 16.40:1
Use #000000AAA at every size.
Aa
White text · 1.28:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.40:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #c2f45f as text scores 1.28:1 on white and 16.40:1 on black.

Accessibility — WCAG contrast

Aa
#c2f45f on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#c2f45f on black: 16.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE54D
deuteranopia · #F9E36A
tritanopia · #CAE9D5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c2f45f is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FDF2
#F3FAE5
#E6F7C4
#D7F896
#c2f45f
#AFF12D
#9EE510
#83BF0D
#69990B
#4D6E0C
#304508
Base = 400Lightest = 50 · #F9FDF2Darkest = 950 · #304508
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F3FAE5;
  --brand-200: #E6F7C4;
  --brand-300: #D7F896;
  --brand-400: #c2f45f;
  --brand-500: #AFF12D;
  --brand-600: #9EE510;
  --brand-700: #83BF0D;
  --brand-800: #69990B;
  --brand-900: #4D6E0C;
  --brand-950: #304508;
  --brand: #c2f45f;
  --brand-ink: #000000;
}

Colors that work with #c2f45f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#DEEDC0
Hairlines and dividers
Muted text#809B4B
Captions on the surface
Accent#695CF7
Second voice, not a rival
Dark variant#527708
Hover, pressed, headers
Light variant#F6FDE7
Selected rows, tints
Dark surface#1F2414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #c2f45f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#915FF4
Analogous left#F4DB5F
Analogous right#78F45F
Split-complement 1#5F78F4
Split-complement 2#DB5FF4
Triadic 1#5FC2F4
Triadic 2#F45FC2
Tetradic#5FF4DB

RGB percentages

Red76.1%
Green95.7%
Blue37.3%

CMYK percentages

Cyan20.5%
Magenta0.0%
Yellow61.1%
Key (black)4.3%

Color previews

#c2f45f text on a black background

contrast 16.40:1

Card sample

#c2f45f text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #c2f45f;
Background color
Panel with #c2f45f background
background-color: #c2f45f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #c2f45f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(194, 244, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 244, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2f45f;
background: linear-gradient(135deg, #c2f45f, #5FF45F);

Monochromatic scale

Palettes built from #c2f45f

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#c2f45f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#c2f45f, answered

What color is #c2f45f?

#c2f45f is a light electric green, closest to Green Yellow (ΔE2000 5). It sits at 80° on the hue wheel with 87% saturation and 67% lightness, which reads as warm.

What is the RGB value of #c2f45f?

rgb(194, 244, 95) — 194 red, 244 green and 95 blue out of 255, or 76.1% / 95.7% / 37.3% by channel.

Is #c2f45f a light or a dark color?

It is a light color. Relative luminance is 0.7700 and perceived brightness is 85%, so black text on it reaches 16.40:1.

Should I use black or white text on #c2f45f?

Black. It scores 16.40:1 against #c2f45f, versus 1.28:1 for white — AAA at any size.

What is the complementary color of #c2f45f?

#915FF4 sits directly opposite on the wheel. Softer options are the split-complements #5F78F4 and #DB5FF4, which give the same contrast with far less vibration.

What colors go well with #c2f45f?

For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #809B4B for secondary text, #695CF7 as an accent and #527708 for hover and pressed states. For a palette, the analogous pair #F4DB5F and #78F45F stays calm, while #915FF4 is the loudest partner.

What is #c2f45f in CMYK for printing?

cmyk(21%, 0%, 61%, 4%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #c2f45f warm or cool?

Warm — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F4EF5F; nudged cooler, #8BF65D.

Work with #c2f45f in the Color Lab