Skip to content

#0b6f21

a deep, electric green · cool · closest name: Dark Green

RGB
11, 111, 33
HSL
133°, 82%, 24%
CMYK
90, 0, 70, 57
Luminance
0.1155

At a glance

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

Hex
#0b6f21
Hue
133°
green
Saturation
82%
electric
Lightness
24%
deep
Brightness
44%
HSV value
Perceived
34%
weighted brightness
Luminance
0.1155
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Electric
Best ink
White
6.34:1
Closest name
Dark Green
ΔE2000 4.6
Where it sits
Hue133° of 360°
Saturation82%
Lightness24%
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#0b6f21
RGBrgb(11, 111, 33)
HSLhsl(133, 82%, 24%)
CMYKcmyk(90%, 0%, 70%, 57%)
LABlab(40.5 -43.3 34.8)
LCHlch(40.5 55.5 141.3)
OKLCHoklch(0.473 0.142 145.5)
Decimal749345
Display P3color(display-p3 0.043 0.435 0.129)

Copy-ready code

/* CSS */
color: #0b6f21;
background-color: #0b6f21;
/* Tailwind (arbitrary) */
class="text-[#0b6f21] bg-[#0b6f21]"
/* SCSS */
$brand: #0b6f21;
/* SwiftUI */
Color(red: 0.043, green: 0.435, blue: 0.129)
/* Android */
Color.parseColor("#0b6f21")
/* Flutter */
Color(0xFF0B6F21)
/* Python / OpenCV (BGR) */
(33, 111, 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#ffffff on #0b6f21 · 6.34:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.34:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.31:1
AA fail · AA large pass · AAA fail
Reading the other direction: #0b6f21 as text scores 6.34:1 on white and 3.31:1 on black.

Accessibility — WCAG contrast

Aa
#0b6f21 on white: 6.34:1
AA ✓ pass · AA-large · AAA
Aa
#0b6f21 on black: 3.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #716417
deuteranopia · #675D28
tritanopia · #006C5F

Color scale — 50 to 950

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

#F2FCF5
#E6F9EA
#C6F6D0
#99F5AD
#66F084
#33EB5B
#16DF42
#12BA37
#0F952C
#0b6f21
#094316
Base = 900Lightest = 50 · #F2FCF5Darkest = 950 · #094316
:root {
  --brand-50: #F2FCF5;
  --brand-100: #E6F9EA;
  --brand-200: #C6F6D0;
  --brand-300: #99F5AD;
  --brand-400: #66F084;
  --brand-500: #33EB5B;
  --brand-600: #16DF42;
  --brand-700: #12BA37;
  --brand-800: #0F952C;
  --brand-900: #0b6f21;
  --brand-950: #094316;
  --brand: #0b6f21;
  --brand-ink: #ffffff;
}

Colors that work with #0b6f21

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

Text on it#ffffff
White wins here
Surface#F4FAF6
Tinted page background
Border#C0EDCA
Hairlines and dividers
Muted text#4B9B5C
Captions on the surface
Accent#6E0971
Second voice, not a rival
Dark variant#0B7422
Hover, pressed, headers
Light variant#E8FDEC
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 #0b6f21

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

Works well for
  • Body text and links on white
  • 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
  • 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#6F0B59
Analogous left#276F0B
Analogous right#0B6F53
Split-complement 1#530B6F
Split-complement 2#6F0B27
Triadic 1#210B6F
Triadic 2#6F210B
Tetradic#0B276F

RGB percentages

Red4.3%
Green43.5%
Blue12.9%

CMYK percentages

Cyan90.1%
Magenta0.0%
Yellow70.3%
Key (black)56.5%

Color previews

#0b6f21 text on a black background

contrast 3.31:1

Card sample

#0b6f21 text on a white background

contrast 6.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b6f21

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.

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

#0b6f21, answered

What color is #0b6f21?

#0b6f21 is a deep electric green, closest to Dark Green (ΔE2000 4.6). It sits at 133° on the hue wheel with 82% saturation and 24% lightness, which reads as cool.

What is the RGB value of #0b6f21?

rgb(11, 111, 33) — 11 red, 111 green and 33 blue out of 255, or 4.3% / 43.5% / 12.9% by channel.

Is #0b6f21 a light or a dark color?

It is a dark color. Relative luminance is 0.1155 and perceived brightness is 34%, so white text on it reaches 6.34:1.

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

White. It scores 6.34:1 against #0b6f21, versus 3.31:1 for black — AA at any size.

What is the complementary color of #0b6f21?

#6F0B59 sits directly opposite on the wheel. Softer options are the split-complements #530B6F and #6F0B27, which give the same contrast with far less vibration.

What colors go well with #0b6f21?

For interface work: #F4FAF6 as the surface, #C0EDCA for borders, #4B9B5C for secondary text, #6E0971 as an accent and #0B7422 for hover and pressed states. For a palette, the analogous pair #276F0B and #0B6F53 stays calm, while #6F0B59 is the loudest partner.

What is #0b6f21 in CMYK for printing?

cmyk(90%, 0%, 70%, 57%). 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 #0b6f21 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 #1A6F0B; nudged cooler, #0A7046.

Work with #0b6f21 in the Color Lab