Skip to content

#0f481f

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

RGB
15, 72, 31
HSL
137°, 66%, 17%
CMYK
79, 0, 57, 72
Luminance
0.0484

At a glance

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

Hex
#0f481f
Hue
137°
green
Saturation
66%
vivid
Lightness
17%
deep
Brightness
28%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0484
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Vivid
Best ink
White
10.68:1
Closest name
Dark Green
ΔE2000 12
Where it sits
Hue137° of 360°
Saturation66%
Lightness17%
Temperature
Warm ← → Cool70% 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#0f481f
RGBrgb(15, 72, 31)
HSLhsl(137, 66%, 17%)
CMYKcmyk(79%, 0%, 57%, 72%)
LABlab(26.3 -28.4 19.4)
LCHlch(26.3 34.4 145.8)
OKLCHoklch(0.355 0.090 148.6)
Decimal1001503
Display P3color(display-p3 0.059 0.282 0.122)

Copy-ready code

/* CSS */
color: #0f481f;
background-color: #0f481f;
/* Tailwind (arbitrary) */
class="text-[#0f481f] bg-[#0f481f]"
/* SCSS */
$brand: #0f481f;
/* SwiftUI */
Color(red: 0.059, green: 0.282, blue: 0.122)
/* Android */
Color.parseColor("#0f481f")
/* Flutter */
Color(0xFF0F481F)
/* Python / OpenCV (BGR) */
(31, 72, 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 #0f481f · 10.68:1
Use #ffffffAAA at every size.
Aa
White text · 10.68:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.97:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0f481f as text scores 10.68:1 on white and 1.97:1 on black.

Accessibility — WCAG contrast

Aa
#0f481f on white: 10.68:1
AA ✓ pass · AA-large · AAA
Aa
#0f481f on black: 1.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #49411B
deuteranopia · #423C22
tritanopia · #00463F

Color scale — 50 to 950

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

#F3FBF6
#E8F8EC
#CBF1D5
#A2ECB7
#74E293
#45D86E
#2ACB57
#23A949
#1C873A
#18622D
#0f481f
Base = 950Lightest = 50 · #F3FBF6Darkest = 950 · #0f481f
:root {
  --brand-50: #F3FBF6;
  --brand-100: #E8F8EC;
  --brand-200: #CBF1D5;
  --brand-300: #A2ECB7;
  --brand-400: #74E293;
  --brand-500: #45D86E;
  --brand-600: #2ACB57;
  --brand-700: #23A949;
  --brand-800: #1C873A;
  --brand-900: #18622D;
  --brand-950: #0f481f;
  --brand: #0f481f;
  --brand-ink: #ffffff;
}

Colors that work with #0f481f

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#C0EDCC
Hairlines and dividers
Muted text#4B9B61
Captions on the surface
Accent#4A0D48
Second voice, not a rival
Dark variant#166A2D
Hover, pressed, headers
Light variant#EAFBEF
Selected rows, tints
Dark surface#142418
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 #0f481f

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#480F38
Analogous left#1C480F
Analogous right#0F483C
Split-complement 1#3C0F48
Split-complement 2#480F1C
Triadic 1#1F0F48
Triadic 2#481F0F
Tetradic#0F1C48

RGB percentages

Red5.9%
Green28.2%
Blue12.2%

CMYK percentages

Cyan79.2%
Magenta0.0%
Yellow56.9%
Key (black)71.8%

Color previews

#0f481f text on a black background

contrast 1.97:1

Card sample

#0f481f text on a white background

contrast 10.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f481f

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.

#0f481f 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

Converts to four-color process without much drama. Proof it anyway.

#0f481f, answered

What color is #0f481f?

#0f481f is a deep vivid green, closest to Dark Green (ΔE2000 12). It sits at 137° on the hue wheel with 66% saturation and 17% lightness, which reads as cool.

What is the RGB value of #0f481f?

rgb(15, 72, 31) — 15 red, 72 green and 31 blue out of 255, or 5.9% / 28.2% / 12.2% by channel.

Is #0f481f a light or a dark color?

It is a dark color. Relative luminance is 0.0484 and perceived brightness is 22%, so white text on it reaches 10.68:1.

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

White. It scores 10.68:1 against #0f481f, versus 1.97:1 for black — AAA at any size.

What is the complementary color of #0f481f?

#480F38 sits directly opposite on the wheel. Softer options are the split-complements #3C0F48 and #480F1C, which give the same contrast with far less vibration.

What colors go well with #0f481f?

For interface work: #F4FAF6 as the surface, #C0EDCC for borders, #4B9B61 for secondary text, #4A0D48 as an accent and #166A2D for hover and pressed states. For a palette, the analogous pair #1C480F and #0F483C stays calm, while #480F38 is the loudest partner.

What is #0f481f in CMYK for printing?

cmyk(79%, 0%, 57%, 72%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #0f481f warm or cool?

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

Work with #0f481f in the Color Lab