Skip to content

#0baf2f

a dark, electric green · cool · closest name: Lime Green

RGB
11, 175, 47
HSL
133°, 88%, 37%
CMYK
94, 0, 73, 31
Luminance
0.3094

At a glance

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

Hex
#0baf2f
Hue
133°
green
Saturation
88%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
53%
weighted brightness
Luminance
0.3094
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.19:1
Closest name
Lime Green
ΔE2000 8.5
Where it sits
Hue133° of 360°
Saturation88%
Lightness37%
Temperature
Warm ← → Cool68% 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#0baf2f
RGBrgb(11, 175, 47)
HSLhsl(133, 88%, 37%)
CMYKcmyk(94%, 0%, 73%, 31%)
LABlab(62.5 -62.2 52.1)
LCHlch(62.5 81.2 140.0)
OKLCHoklch(0.656 0.205 144.7)
Decimal765743
Display P3color(display-p3 0.043 0.686 0.184)

Copy-ready code

/* CSS */
color: #0baf2f;
background-color: #0baf2f;
/* Tailwind (arbitrary) */
class="text-[#0baf2f] bg-[#0baf2f]"
/* SCSS */
$brand: #0baf2f;
/* SwiftUI */
Color(red: 0.043, green: 0.686, blue: 0.184)
/* Android */
Color.parseColor("#0baf2f")
/* Flutter */
Color(0xFF0BAF2F)
/* Python / OpenCV (BGR) */
(47, 175, 11)

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

Accessibility — WCAG contrast

Aa
#0baf2f on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#0baf2f on black: 7.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B29E18
deuteranopia · #A2933C
tritanopia · #00AA96

Color scale — 50 to 950

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

#F2FDF4
#E5FAEA
#C4F8CF
#95F8AB
#61F581
#2CF257
#0EE63E
#0baf2f
#0A9A29
#0C6F21
#074515
Base = 700Lightest = 50 · #F2FDF4Darkest = 950 · #074515
:root {
  --brand-50: #F2FDF4;
  --brand-100: #E5FAEA;
  --brand-200: #C4F8CF;
  --brand-300: #95F8AB;
  --brand-400: #61F581;
  --brand-500: #2CF257;
  --brand-600: #0EE63E;
  --brand-700: #0baf2f;
  --brand-800: #0A9A29;
  --brand-900: #0C6F21;
  --brand-950: #074515;
  --brand: #0baf2f;
  --brand-ink: #000000;
}

Colors that work with #0baf2f

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#F4FAF6
Tinted page background
Border#C0EDCA
Hairlines and dividers
Muted text#4B9B5C
Captions on the surface
Accent#AE07B3
Second voice, not a rival
Dark variant#087820
Hover, pressed, headers
Light variant#E7FDEC
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 #0baf2f

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black 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#AF0B8B
Analogous left#39AF0B
Analogous right#0BAF81
Split-complement 1#810BAF
Split-complement 2#AF0B39
Triadic 1#2F0BAF
Triadic 2#AF2F0B
Tetradic#0B39AF

RGB percentages

Red4.3%
Green68.6%
Blue18.4%

CMYK percentages

Cyan93.7%
Magenta0.0%
Yellow73.1%
Key (black)31.4%

Color previews

#0baf2f text on a black background

contrast 7.19:1

Card sample

#0baf2f text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 175, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 175, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0baf2f;
background: linear-gradient(135deg, #0baf2f, #0BAF9D);

Monochromatic scale

Palettes built from #0baf2f

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.

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

#0baf2f, answered

What color is #0baf2f?

#0baf2f is a dark electric green, closest to Lime Green (ΔE2000 8.5). It sits at 133° on the hue wheel with 88% saturation and 37% lightness, which reads as cool.

What is the RGB value of #0baf2f?

rgb(11, 175, 47) — 11 red, 175 green and 47 blue out of 255, or 4.3% / 68.6% / 18.4% by channel.

Is #0baf2f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3094 and perceived brightness is 53%, so black text on it reaches 7.19:1.

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

Black. It scores 7.19:1 against #0baf2f, versus 2.92:1 for white — AAA at any size.

What is the complementary color of #0baf2f?

#AF0B8B sits directly opposite on the wheel. Softer options are the split-complements #810BAF and #AF0B39, which give the same contrast with far less vibration.

What colors go well with #0baf2f?

For interface work: #F4FAF6 as the surface, #C0EDCA for borders, #4B9B5C for secondary text, #AE07B3 as an accent and #087820 for hover and pressed states. For a palette, the analogous pair #39AF0B and #0BAF81 stays calm, while #AF0B8B is the loudest partner.

What is #0baf2f in CMYK for printing?

cmyk(94%, 0%, 73%, 31%). 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 #0baf2f warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #23AF0B; nudged cooler, #09B16C.

Work with #0baf2f in the Color Lab