Skip to content

#0d8f13

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

RGB
13, 143, 19
HSL
123°, 83%, 31%
CMYK
91, 0, 87, 44
Luminance
0.1978

At a glance

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

Hex
#0d8f13
Hue
123°
green
Saturation
83%
electric
Lightness
31%
dark
Brightness
56%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1978
WCAG relative
Temperature
Cool
64/100 cool
Color family
Green
Tone
Electric
Best ink
Black
4.96:1
Closest name
Forest Green
ΔE2000 2
Where it sits
Hue123° of 360°
Saturation83%
Lightness31%
Temperature
Warm ← → Cool64% 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#0d8f13
RGBrgb(13, 143, 19)
HSLhsl(123, 83%, 31%)
CMYKcmyk(91%, 0%, 87%, 44%)
LABlab(51.6 -54.4 50.6)
LCHlch(51.6 74.3 137.1)
OKLCHoklch(0.565 0.185 142.9)
Decimal888595
Display P3color(display-p3 0.051 0.561 0.075)

Copy-ready code

/* CSS */
color: #0d8f13;
background-color: #0d8f13;
/* Tailwind (arbitrary) */
class="text-[#0d8f13] bg-[#0d8f13]"
/* SCSS */
$brand: #0d8f13;
/* SwiftUI */
Color(red: 0.051, green: 0.561, blue: 0.075)
/* Android */
Color.parseColor("#0d8f13")
/* Flutter */
Color(0xFF0D8F13)
/* Python / OpenCV (BGR) */
(19, 143, 13)

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#000000 on #0d8f13 · 4.96:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.24:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.96:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #0d8f13 as text scores 4.24:1 on white and 4.96:1 on black.

Accessibility — WCAG contrast

Aa
#0d8f13 on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#0d8f13 on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #928000
deuteranopia · #857824
tritanopia · #008B79

Color scale — 50 to 950

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

#F2FCF3
#E6FAE7
#C6F6C8
#98F69D
#65F16B
#31EC3A
#14E01E
#11BB19
#0d8f13
#0E6C13
#09440C
Base = 800Lightest = 50 · #F2FCF3Darkest = 950 · #09440C
:root {
  --brand-50: #F2FCF3;
  --brand-100: #E6FAE7;
  --brand-200: #C6F6C8;
  --brand-300: #98F69D;
  --brand-400: #65F16B;
  --brand-500: #31EC3A;
  --brand-600: #14E01E;
  --brand-700: #11BB19;
  --brand-800: #0d8f13;
  --brand-900: #0E6C13;
  --brand-950: #09440C;
  --brand: #0d8f13;
  --brand-ink: #000000;
}

Colors that work with #0d8f13

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAF5
Tinted page background
Border#C0EDC2
Hairlines and dividers
Muted text#4B9B4E
Captions on the surface
Accent#760A92
Second voice, not a rival
Dark variant#0B7510
Hover, pressed, headers
Light variant#E8FDE9
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 #0d8f13

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • 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#8F0D89
Analogous left#488F0D
Analogous right#0D8F54
Split-complement 1#540D8F
Split-complement 2#8F0D48
Triadic 1#130D8F
Triadic 2#8F130D
Tetradic#0D488F

RGB percentages

Red5.1%
Green56.1%
Blue7.5%

CMYK percentages

Cyan90.9%
Magenta0.0%
Yellow86.7%
Key (black)43.9%

Color previews

#0d8f13 text on a black background

contrast 4.96:1

Card sample

#0d8f13 text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0d8f13

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.

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

#0d8f13, answered

What color is #0d8f13?

#0d8f13 is a dark electric green, closest to Forest Green (ΔE2000 2). It sits at 123° on the hue wheel with 83% saturation and 31% lightness, which reads as cool.

What is the RGB value of #0d8f13?

rgb(13, 143, 19) — 13 red, 143 green and 19 blue out of 255, or 5.1% / 56.1% / 7.5% by channel.

Is #0d8f13 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1978 and perceived brightness is 43%, so black text on it reaches 4.96:1.

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

Black. It scores 4.96:1 against #0d8f13, versus 4.24:1 for white — AA at any size.

What is the complementary color of #0d8f13?

#8F0D89 sits directly opposite on the wheel. Softer options are the split-complements #540D8F and #8F0D48, which give the same contrast with far less vibration.

What colors go well with #0d8f13?

For interface work: #F4FAF5 as the surface, #C0EDC2 for borders, #4B9B4E for secondary text, #760A92 as an accent and #0B7510 for hover and pressed states. For a palette, the analogous pair #488F0D and #0D8F54 stays calm, while #8F0D89 is the loudest partner.

What is #0d8f13 in CMYK for printing?

cmyk(91%, 0%, 87%, 44%). 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 #0d8f13 warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #378F0D; nudged cooler, #0B9142.

Work with #0d8f13 in the Color Lab