Skip to content

#0f2d03

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

RGB
15, 45, 3
HSL
103°, 88%, 9%
CMYK
67, 0, 93, 82
Luminance
0.0198

At a glance

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

Hex
#0f2d03
Hue
103°
green
Saturation
88%
electric
Lightness
9%
deep
Brightness
18%
HSV value
Perceived
14%
weighted brightness
Luminance
0.0198
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Electric
Best ink
White
15.03:1
Closest name
Dark Green
ΔE2000 18.5
Where it sits
Hue103° of 360°
Saturation88%
Lightness9%
Temperature
Warm ← → Cool55% 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#0f2d03
RGBrgb(15, 45, 3)
HSLhsl(103, 88%, 9%)
CMYKcmyk(67%, 0%, 93%, 82%)
LABlab(15.4 -20.5 20.7)
LCHlch(15.4 29.2 134.7)
OKLCHoklch(0.264 0.076 138.1)
Decimal994563
Display P3color(display-p3 0.059 0.176 0.012)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2d03 on white: 15.03:1
AA ✓ pass · AA-large · AAA
Aa
#0f2d03 on black: 1.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2F2800
deuteranopia · #2B2606
tritanopia · #0C2B25

Color scale — 50 to 950

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

#F5FDF2
#EBFAE5
#D3F8C4
#B2F896
#8BF461
#65F12D
#4CE50F
#40BF0D
#33990A
#286E0C
#0f2d03
Base = 950Lightest = 50 · #F5FDF2Darkest = 950 · #0f2d03
:root {
  --brand-50: #F5FDF2;
  --brand-100: #EBFAE5;
  --brand-200: #D3F8C4;
  --brand-300: #B2F896;
  --brand-400: #8BF461;
  --brand-500: #65F12D;
  --brand-600: #4CE50F;
  --brand-700: #40BF0D;
  --brand-800: #33990A;
  --brand-900: #286E0C;
  --brand-950: #0f2d03;
  --brand: #0f2d03;
  --brand-ink: #ffffff;
}

Colors that work with #0f2d03

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#CDEDC0
Hairlines and dividers
Muted text#619B4B
Captions on the surface
Accent#16022E
Second voice, not a rival
Dark variant#287808
Hover, pressed, headers
Light variant#EDFDE7
Selected rows, tints
Dark surface#182414
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 #0f2d03

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#21032D
Analogous left#242D03
Analogous right#032D0C
Split-complement 1#0C032D
Split-complement 2#2D0324
Triadic 1#030F2D
Triadic 2#2D030F
Tetradic#03242D

RGB percentages

Red5.9%
Green17.6%
Blue1.2%

CMYK percentages

Cyan66.7%
Magenta0.0%
Yellow93.3%
Key (black)82.4%

Color previews

#0f2d03 text on a black background

contrast 1.40:1

Card sample

#0f2d03 text on a white background

contrast 15.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2d03

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.

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

#0f2d03, answered

What color is #0f2d03?

#0f2d03 is a deep electric green, closest to Dark Green (ΔE2000 18.5). It sits at 103° on the hue wheel with 88% saturation and 9% lightness, which reads as neutral.

What is the RGB value of #0f2d03?

rgb(15, 45, 3) — 15 red, 45 green and 3 blue out of 255, or 5.9% / 17.6% / 1.2% by channel.

Is #0f2d03 a light or a dark color?

It is a dark color. Relative luminance is 0.0198 and perceived brightness is 14%, so white text on it reaches 15.03:1.

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

White. It scores 15.03:1 against #0f2d03, versus 1.40:1 for black — AAA at any size.

What is the complementary color of #0f2d03?

#21032D sits directly opposite on the wheel. Softer options are the split-complements #0C032D and #2D0324, which give the same contrast with far less vibration.

What colors go well with #0f2d03?

For interface work: #F6FAF4 as the surface, #CDEDC0 for borders, #619B4B for secondary text, #16022E as an accent and #287808 for hover and pressed states. For a palette, the analogous pair #242D03 and #032D0C stays calm, while #21032D is the loudest partner.

What is #0f2d03 in CMYK for printing?

cmyk(67%, 0%, 93%, 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 #0f2d03 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1E2D03; nudged cooler, #032D06.

Work with #0f2d03 in the Color Lab