Skip to content

#0f7813

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

RGB
15, 120, 19
HSL
122°, 78%, 27%
CMYK
88, 0, 84, 53
Luminance
0.1358

At a glance

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

Hex
#0f7813
Hue
122°
green
Saturation
78%
electric
Lightness
27%
dark
Brightness
47%
HSV value
Perceived
36%
weighted brightness
Luminance
0.1358
WCAG relative
Temperature
Cool
63/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.65:1
Closest name
Green
ΔE2000 3.2
Where it sits
Hue122° of 360°
Saturation78%
Lightness27%
Temperature
Warm ← → Cool63% 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#0f7813
RGBrgb(15, 120, 19)
HSLhsl(122, 78%, 27%)
CMYKcmyk(88%, 0%, 84%, 53%)
LABlab(43.6 -47.1 43.3)
LCHlch(43.6 64.0 137.4)
OKLCHoklch(0.499 0.160 143.0)
Decimal1013779
Display P3color(display-p3 0.059 0.471 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f7813 on white: 5.65:1
AA ✓ pass · AA-large · AAA
Aa
#0f7813 on black: 3.72:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7B6C00
deuteranopia · #706420
tritanopia · #007466

Color scale — 50 to 950

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

#F3FCF3
#E6F9E7
#C7F5C9
#9BF39F
#69EC6E
#38E63E
#1BDA22
#17B51D
#129117
#0f7813
#0B420D
Base = 900Lightest = 50 · #F3FCF3Darkest = 950 · #0B420D
:root {
  --brand-50: #F3FCF3;
  --brand-100: #E6F9E7;
  --brand-200: #C7F5C9;
  --brand-300: #9BF39F;
  --brand-400: #69EC6E;
  --brand-500: #38E63E;
  --brand-600: #1BDA22;
  --brand-700: #17B51D;
  --brand-800: #129117;
  --brand-900: #0f7813;
  --brand-950: #0B420D;
  --brand: #0f7813;
  --brand-ink: #ffffff;
}

Colors that work with #0f7813

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#F4FAF5
Tinted page background
Border#C0EDC1
Hairlines and dividers
Muted text#4B9B4E
Captions on the surface
Accent#630C7B
Second voice, not a rival
Dark variant#0E7112
Hover, pressed, headers
Light variant#E8FCE9
Selected rows, tints
Dark surface#142414
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 #0f7813

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#780F74
Analogous left#40780F
Analogous right#0F7848
Split-complement 1#480F78
Split-complement 2#780F40
Triadic 1#130F78
Triadic 2#78130F
Tetradic#0F4078

RGB percentages

Red5.9%
Green47.1%
Blue7.5%

CMYK percentages

Cyan87.5%
Magenta0.0%
Yellow84.2%
Key (black)52.9%

Color previews

#0f7813 text on a black background

contrast 3.72:1

Card sample

#0f7813 text on a white background

contrast 5.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f7813

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.

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

#0f7813, answered

What color is #0f7813?

#0f7813 is a dark electric green, closest to Green (ΔE2000 3.2). It sits at 122° on the hue wheel with 78% saturation and 27% lightness, which reads as cool.

What is the RGB value of #0f7813?

rgb(15, 120, 19) — 15 red, 120 green and 19 blue out of 255, or 5.9% / 47.1% / 7.5% by channel.

Is #0f7813 a light or a dark color?

It is a dark color. Relative luminance is 0.1358 and perceived brightness is 36%, so white text on it reaches 5.65:1.

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

White. It scores 5.65:1 against #0f7813, versus 3.72:1 for black — AA at any size.

What is the complementary color of #0f7813?

#780F74 sits directly opposite on the wheel. Softer options are the split-complements #480F78 and #780F40, which give the same contrast with far less vibration.

What colors go well with #0f7813?

For interface work: #F4FAF5 as the surface, #C0EDC1 for borders, #4B9B4E for secondary text, #630C7B as an accent and #0E7112 for hover and pressed states. For a palette, the analogous pair #40780F and #0F7848 stays calm, while #780F74 is the loudest partner.

What is #0f7813 in CMYK for printing?

cmyk(88%, 0%, 84%, 53%). 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 #0f7813 warm or cool?

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

Work with #0f7813 in the Color Lab