Skip to content

#0cf033

a balanced, electric green · cool · closest name: Lime

RGB
12, 240, 51
HSL
130°, 91%, 49%
CMYK
95, 0, 79, 6
Luminance
0.6264

At a glance

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

Hex
#0cf033
Hue
130°
green
Saturation
91%
electric
Lightness
49%
balanced
Brightness
94%
HSV value
Perceived
72%
weighted brightness
Luminance
0.6264
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.53:1
Closest name
Lime
ΔE2000 3.8
Where it sits
Hue130° of 360°
Saturation91%
Lightness49%
Temperature
Warm ← → Cool67% cool

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

Every format

HEX#0cf033
RGBrgb(12, 240, 51)
HSLhsl(130, 91%, 49%)
CMYKcmyk(95%, 0%, 79%, 6%)
LABlab(83.3 -80.3 71.3)
LCHlch(83.3 107.4 138.4)
OKLCHoklch(0.830 0.269 143.8)
Decimal847923
Display P3color(display-p3 0.047 0.941 0.200)

Copy-ready code

/* CSS */
color: #0cf033;
background-color: #0cf033;
/* Tailwind (arbitrary) */
class="text-[#0cf033] bg-[#0cf033]"
/* SCSS */
$brand: #0cf033;
/* SwiftUI */
Color(red: 0.047, green: 0.941, blue: 0.200)
/* Android */
Color.parseColor("#0cf033")
/* Flutter */
Color(0xFF0CF033)
/* Python / OpenCV (BGR) */
(51, 240, 12)

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 #0cf033 · 13.53:1
Use #000000AAA at every size.
Aa
White text · 1.55:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.53:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0cf033 as text scores 1.55:1 on white and 13.53:1 on black.

Accessibility — WCAG contrast

Aa
#0cf033 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#0cf033 on black: 13.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F5D800
deuteranopia · #E0CA4B
tritanopia · #00E9CD

Color scale — 50 to 950

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

#F2FDF4
#E5FBE8
#C3F9CC
#94FAA6
#5FF779
#29F44C
#0cf033
#0AC229
#089B21
#0A701C
#064611
Base = 600Lightest = 50 · #F2FDF4Darkest = 950 · #064611
:root {
  --brand-50: #F2FDF4;
  --brand-100: #E5FBE8;
  --brand-200: #C3F9CC;
  --brand-300: #94FAA6;
  --brand-400: #5FF779;
  --brand-500: #29F44C;
  --brand-600: #0cf033;
  --brand-700: #0AC229;
  --brand-800: #089B21;
  --brand-900: #0A701C;
  --brand-950: #064611;
  --brand: #0cf033;
  --brand-ink: #000000;
}

Colors that work with #0cf033

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#F4FAF5
Tinted page background
Border#C0EDC7
Hairlines and dividers
Muted text#4B9B58
Captions on the surface
Accent#E207F5
Second voice, not a rival
Dark variant#06791A
Hover, pressed, headers
Light variant#E7FEEB
Selected rows, tints
Dark surface#142417
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 #0cf033

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#F00CC9
Analogous left#57F00C
Analogous right#0CF0A5
Split-complement 1#A50CF0
Split-complement 2#F00C57
Triadic 1#330CF0
Triadic 2#F0330C
Tetradic#0C57F0

RGB percentages

Red4.7%
Green94.1%
Blue20.0%

CMYK percentages

Cyan95.0%
Magenta0.0%
Yellow78.8%
Key (black)5.9%

Color previews

#0cf033 text on a black background

contrast 13.53:1

Card sample

#0cf033 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(12, 240, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 240, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cf033;
background: linear-gradient(135deg, #0cf033, #0CF0CB);

Monochromatic scale

Palettes built from #0cf033

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.

#0cf033 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.

#0cf033, answered

What color is #0cf033?

#0cf033 is a balanced electric green, closest to Lime (ΔE2000 3.8). It sits at 130° on the hue wheel with 91% saturation and 49% lightness, which reads as cool.

What is the RGB value of #0cf033?

rgb(12, 240, 51) — 12 red, 240 green and 51 blue out of 255, or 4.7% / 94.1% / 20% by channel.

Is #0cf033 a light or a dark color?

It is a light color. Relative luminance is 0.6264 and perceived brightness is 72%, so black text on it reaches 13.53:1.

Should I use black or white text on #0cf033?

Black. It scores 13.53:1 against #0cf033, versus 1.55:1 for white — AAA at any size.

What is the complementary color of #0cf033?

#F00CC9 sits directly opposite on the wheel. Softer options are the split-complements #A50CF0 and #F00C57, which give the same contrast with far less vibration.

What colors go well with #0cf033?

For interface work: #F4FAF5 as the surface, #C0EDC7 for borders, #4B9B58 for secondary text, #E207F5 as an accent and #06791A for hover and pressed states. For a palette, the analogous pair #57F00C and #0CF0A5 stays calm, while #F00CC9 is the loudest partner.

What is #0cf033 in CMYK for printing?

cmyk(95%, 0%, 79%, 6%). 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 #0cf033 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #38F00C; nudged cooler, #09F287.

Work with #0cf033 in the Color Lab