Skip to content

#0f2f06

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

RGB
15, 47, 6
HSL
107°, 77%, 10%
CMYK
68, 0, 87, 82
Luminance
0.0215

At a glance

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

Hex
#0f2f06
Hue
107°
green
Saturation
77%
electric
Lightness
10%
deep
Brightness
18%
HSV value
Perceived
15%
weighted brightness
Luminance
0.0215
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Green
Tone
Electric
Best ink
White
14.69:1
Closest name
Dark Green
ΔE2000 18
Where it sits
Hue107° of 360°
Saturation77%
Lightness10%
Temperature
Warm ← → Cool57% cool

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

Every format

HEX#0f2f06
RGBrgb(15, 47, 6)
HSLhsl(107, 77%, 10%)
CMYKcmyk(68%, 0%, 87%, 82%)
LABlab(16.2 -21.1 20.6)
LCHlch(16.2 29.4 135.7)
OKLCHoklch(0.271 0.076 139.5)
Decimal995078
Display P3color(display-p3 0.059 0.184 0.024)

Copy-ready code

/* CSS */
color: #0f2f06;
background-color: #0f2f06;
/* Tailwind (arbitrary) */
class="text-[#0f2f06] bg-[#0f2f06]"
/* SCSS */
$brand: #0f2f06;
/* SwiftUI */
Color(red: 0.059, green: 0.184, blue: 0.024)
/* Android */
Color.parseColor("#0f2f06")
/* Flutter */
Color(0xFF0F2F06)
/* Python / OpenCV (BGR) */
(6, 47, 15)

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

Accessibility — WCAG contrast

Aa
#0f2f06 on white: 14.69:1
AA ✓ pass · AA-large · AAA
Aa
#0f2f06 on black: 1.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #312A02
deuteranopia · #2D270A
tritanopia · #0B2D27

Color scale — 50 to 950

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

#F5FCF3
#EBF9E6
#D1F4C7
#AFF29B
#86EC6A
#5EE638
#45D91C
#3AB517
#2E9112
#256912
#0f2f06
Base = 950Lightest = 50 · #F5FCF3Darkest = 950 · #0f2f06
:root {
  --brand-50: #F5FCF3;
  --brand-100: #EBF9E6;
  --brand-200: #D1F4C7;
  --brand-300: #AFF29B;
  --brand-400: #86EC6A;
  --brand-500: #5EE638;
  --brand-600: #45D91C;
  --brand-700: #3AB517;
  --brand-800: #2E9112;
  --brand-900: #256912;
  --brand-950: #0f2f06;
  --brand: #0f2f06;
  --brand-ink: #ffffff;
}

Colors that work with #0f2f06

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#F6FAF4
Tinted page background
Border#CAEDC0
Hairlines and dividers
Muted text#5C9B4B
Captions on the surface
Accent#1C0530
Second voice, not a rival
Dark variant#24710E
Hover, pressed, headers
Light variant#EDFCE8
Selected rows, tints
Dark surface#172414
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 #0f2f06

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
  • Text on black or near-black surfaces
  • 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#26062F
Analogous left#242F06
Analogous right#062F11
Split-complement 1#11062F
Split-complement 2#2F0624
Triadic 1#060F2F
Triadic 2#2F060F
Tetradic#06242F

RGB percentages

Red5.9%
Green18.4%
Blue2.4%

CMYK percentages

Cyan68.1%
Magenta0.0%
Yellow87.2%
Key (black)81.6%

Color previews

#0f2f06 text on a black background

contrast 1.43:1

Card sample

#0f2f06 text on a white background

contrast 14.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 47, 6, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 47, 6, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f2f06;
background: linear-gradient(135deg, #0f2f06, #062F18);

Monochromatic scale

Palettes built from #0f2f06

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.

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

#0f2f06, answered

What color is #0f2f06?

#0f2f06 is a deep electric green, closest to Dark Green (ΔE2000 18). It sits at 107° on the hue wheel with 77% saturation and 10% lightness, which reads as neutral.

What is the RGB value of #0f2f06?

rgb(15, 47, 6) — 15 red, 47 green and 6 blue out of 255, or 5.9% / 18.4% / 2.4% by channel.

Is #0f2f06 a light or a dark color?

It is a dark color. Relative luminance is 0.0215 and perceived brightness is 15%, so white text on it reaches 14.69:1.

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

White. It scores 14.69:1 against #0f2f06, versus 1.43:1 for black — AAA at any size.

What is the complementary color of #0f2f06?

#26062F sits directly opposite on the wheel. Softer options are the split-complements #11062F and #2F0624, which give the same contrast with far less vibration.

What colors go well with #0f2f06?

For interface work: #F6FAF4 as the surface, #CAEDC0 for borders, #5C9B4B for secondary text, #1C0530 as an accent and #24710E for hover and pressed states. For a palette, the analogous pair #242F06 and #062F11 stays calm, while #26062F is the loudest partner.

What is #0f2f06 in CMYK for printing?

cmyk(68%, 0%, 87%, 82%). 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 #0f2f06 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1E2F06; nudged cooler, #05300C.

Work with #0f2f06 in the Color Lab