Skip to content

#0f7331

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

RGB
15, 115, 49
HSL
140°, 77%, 26%
CMYK
87, 0, 57, 55
Luminance
0.1258

At a glance

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

Hex
#0f7331
Hue
140°
green
Saturation
77%
electric
Lightness
26%
dark
Brightness
45%
HSV value
Perceived
35%
weighted brightness
Luminance
0.1258
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.97:1
Closest name
Dark Green
ΔE2000 7.2
Where it sits
Hue140° of 360°
Saturation77%
Lightness26%
Temperature
Warm ← → Cool71% 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#0f7331
RGBrgb(15, 115, 49)
HSLhsl(140, 77%, 26%)
CMYKcmyk(87%, 0%, 57%, 55%)
LABlab(42.1 -42.2 28.7)
LCHlch(42.1 51.0 145.7)
OKLCHoklch(0.487 0.132 148.7)
Decimal1012529
Display P3color(display-p3 0.059 0.451 0.192)

Copy-ready code

/* CSS */
color: #0f7331;
background-color: #0f7331;
/* Tailwind (arbitrary) */
class="text-[#0f7331] bg-[#0f7331]"
/* SCSS */
$brand: #0f7331;
/* SwiftUI */
Color(red: 0.059, green: 0.451, blue: 0.192)
/* Android */
Color.parseColor("#0f7331")
/* Flutter */
Color(0xFF0F7331)
/* Python / OpenCV (BGR) */
(49, 115, 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 #0f7331 · 5.97:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.97:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.52:1
AA fail · AA large pass · AAA fail
Reading the other direction: #0f7331 as text scores 5.97:1 on white and 3.52:1 on black.

Accessibility — WCAG contrast

Aa
#0f7331 on white: 5.97:1
AA ✓ pass · AA-large · AAA
Aa
#0f7331 on black: 3.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #74682B
deuteranopia · #696036
tritanopia · #007164

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0f7331 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.

#F3FCF6
#E7F9ED
#C7F4D7
#9CF2B9
#6AEC96
#39E573
#1CD95C
#18B44D
#13903E
#0f7331
#0B411E
Base = 900Lightest = 50 · #F3FCF6Darkest = 950 · #0B411E
:root {
  --brand-50: #F3FCF6;
  --brand-100: #E7F9ED;
  --brand-200: #C7F4D7;
  --brand-300: #9CF2B9;
  --brand-400: #6AEC96;
  --brand-500: #39E573;
  --brand-600: #1CD95C;
  --brand-700: #18B44D;
  --brand-800: #13903E;
  --brand-900: #0f7331;
  --brand-950: #0B411E;
  --brand: #0f7331;
  --brand-ink: #ffffff;
}

Colors that work with #0f7331

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#C0EDCF
Hairlines and dividers
Muted text#4B9B66
Captions on the surface
Accent#760C6C
Second voice, not a rival
Dark variant#0F7130
Hover, pressed, headers
Light variant#E8FCEF
Selected rows, tints
Dark surface#142419
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 #0f7331

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#730F51
Analogous left#1F730F
Analogous right#0F7363
Split-complement 1#630F73
Split-complement 2#730F1F
Triadic 1#310F73
Triadic 2#73310F
Tetradic#0F1F73

RGB percentages

Red5.9%
Green45.1%
Blue19.2%

CMYK percentages

Cyan87.0%
Magenta0.0%
Yellow57.4%
Key (black)54.9%

Color previews

#0f7331 text on a black background

contrast 3.52:1

Card sample

#0f7331 text on a white background

contrast 5.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 115, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 115, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f7331;
background: linear-gradient(135deg, #0f7331, #0F7273);

Monochromatic scale

Palettes built from #0f7331

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.

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

#0f7331, answered

What color is #0f7331?

#0f7331 is a dark electric green, closest to Dark Green (ΔE2000 7.2). It sits at 140° on the hue wheel with 77% saturation and 26% lightness, which reads as cool.

What is the RGB value of #0f7331?

rgb(15, 115, 49) — 15 red, 115 green and 49 blue out of 255, or 5.9% / 45.1% / 19.2% by channel.

Is #0f7331 a light or a dark color?

It is a dark color. Relative luminance is 0.1258 and perceived brightness is 35%, so white text on it reaches 5.97:1.

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

White. It scores 5.97:1 against #0f7331, versus 3.52:1 for black — AA at any size.

What is the complementary color of #0f7331?

#730F51 sits directly opposite on the wheel. Softer options are the split-complements #630F73 and #730F1F, which give the same contrast with far less vibration.

What colors go well with #0f7331?

For interface work: #F4FAF6 as the surface, #C0EDCF for borders, #4B9B66 for secondary text, #760C6C as an accent and #0F7130 for hover and pressed states. For a palette, the analogous pair #1F730F and #0F7363 stays calm, while #730F51 is the loudest partner.

What is #0f7331 in CMYK for printing?

cmyk(87%, 0%, 57%, 55%). 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 #0f7331 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #12730F; nudged cooler, #0E7456.

Work with #0f7331 in the Color Lab