Skip to content

#c2f331

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

RGB
194, 243, 49
HSL
75°, 89%, 57%
CMYK
20, 0, 80, 5
Luminance
0.7579

At a glance

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

Hex
#c2f331
Hue
75°
green
Saturation
89%
electric
Lightness
57%
balanced
Brightness
95%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7579
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.16:1
Closest name
Green Yellow
ΔE2000 4.6
Where it sits
Hue75° of 360°
Saturation89%
Lightness57%
Temperature
Warm ← → Cool38% 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#c2f331
RGBrgb(194, 243, 49)
HSLhsl(75, 89%, 57%)
CMYKcmyk(20%, 0%, 80%, 5%)
LABlab(89.8 -39.6 79.9)
LCHlch(89.8 89.2 116.4)
OKLCHoklch(0.898 0.209 123.7)
Decimal12776241
Display P3color(display-p3 0.761 0.953 0.192)

Copy-ready code

/* CSS */
color: #c2f331;
background-color: #c2f331;
/* Tailwind (arbitrary) */
class="text-[#c2f331] bg-[#c2f331]"
/* SCSS */
$brand: #c2f331;
/* SwiftUI */
Color(red: 0.761, green: 0.953, blue: 0.192)
/* Android */
Color.parseColor("#c2f331")
/* Flutter */
Color(0xFFC2F331)
/* Python / OpenCV (BGR) */
(49, 243, 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 #c2f331 · 16.16:1
Use #000000AAA at every size.
Aa
White text · 1.30:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.16:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #c2f331 as text scores 1.30:1 on white and 16.16:1 on black.

Accessibility — WCAG contrast

Aa
#c2f331 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#c2f331 on black: 16.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE300
deuteranopia · #FBE146
tritanopia · #CCE7D0

Color scale — 50 to 950

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

#FAFDF2
#F5FBE5
#EBF8C4
#E0F995
#D0F660
#c2f331
#B0E70D
#93C10B
#759A09
#566F0B
#364607
Base = 500Lightest = 50 · #FAFDF2Darkest = 950 · #364607
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F5FBE5;
  --brand-200: #EBF8C4;
  --brand-300: #E0F995;
  --brand-400: #D0F660;
  --brand-500: #c2f331;
  --brand-600: #B0E70D;
  --brand-700: #93C10B;
  --brand-800: #759A09;
  --brand-900: #566F0B;
  --brand-950: #364607;
  --brand: #c2f331;
  --brand-ink: #000000;
}

Colors that work with #c2f331

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#F9FAF4
Tinted page background
Border#E1EDC0
Hairlines and dividers
Muted text#879B4B
Captions on the surface
Accent#2E2DF7
Second voice, not a rival
Dark variant#5C7807
Hover, pressed, headers
Light variant#F8FEE7
Selected rows, tints
Dark surface#202414
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 #c2f331

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
  • 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
  • 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#6231F3
Analogous left#F3C331
Analogous right#61F331
Split-complement 1#3161F3
Split-complement 2#C331F3
Triadic 1#31C2F3
Triadic 2#F331C2
Tetradic#31F3C3

RGB percentages

Red76.1%
Green95.3%
Blue19.2%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow79.8%
Key (black)4.7%

Color previews

#c2f331 text on a black background

contrast 16.16:1

Card sample

#c2f331 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 243, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 243, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2f331;
background: linear-gradient(135deg, #c2f331, #41F331);

Monochromatic scale

Palettes built from #c2f331

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.

#c2f331 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
ButtonsLinksFocus statesCharts
Print note

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

#c2f331, answered

What color is #c2f331?

#c2f331 is a balanced electric green, closest to Green Yellow (ΔE2000 4.6). It sits at 75° on the hue wheel with 89% saturation and 57% lightness, which reads as warm.

What is the RGB value of #c2f331?

rgb(194, 243, 49) — 194 red, 243 green and 49 blue out of 255, or 76.1% / 95.3% / 19.2% by channel.

Is #c2f331 a light or a dark color?

It is a light color. Relative luminance is 0.7579 and perceived brightness is 84%, so black text on it reaches 16.16:1.

Should I use black or white text on #c2f331?

Black. It scores 16.16:1 against #c2f331, versus 1.30:1 for white — AAA at any size.

What is the complementary color of #c2f331?

#6231F3 sits directly opposite on the wheel. Softer options are the split-complements #3161F3 and #C331F3, which give the same contrast with far less vibration.

What colors go well with #c2f331?

For interface work: #F9FAF4 as the surface, #E1EDC0 for borders, #879B4B for secondary text, #2E2DF7 as an accent and #5C7807 for hover and pressed states. For a palette, the analogous pair #F3C331 and #61F331 stays calm, while #6231F3 is the loudest partner.

What is #c2f331 in CMYK for printing?

cmyk(20%, 0%, 80%, 5%). 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 #c2f331 warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F3DD31; nudged cooler, #7AF52F.

Work with #c2f331 in the Color Lab