Skip to content

#0f2313

a deep, soft green · cool · closest name: Black

RGB
15, 35, 19
HSL
132°, 40%, 10%
CMYK
57, 0, 46, 86
Luminance
0.0135

At a glance

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

Hex
#0f2313
Hue
132°
green
Saturation
40%
soft
Lightness
10%
deep
Brightness
14%
HSV value
Perceived
11%
weighted brightness
Luminance
0.0135
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Soft
Best ink
White
16.53:1
Closest name
Black
ΔE2000 15.7
Where it sits
Hue132° of 360°
Saturation40%
Lightness10%
Temperature
Warm ← → Cool68% 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#0f2313
RGBrgb(15, 35, 19)
HSLhsl(132, 40%, 10%)
CMYKcmyk(57%, 0%, 46%, 86%)
LABlab(11.6 -12.7 8.2)
LCHlch(11.6 15.1 147.2)
OKLCHoklch(0.234 0.040 149.0)
Decimal992019
Display P3color(display-p3 0.059 0.137 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2313 on white: 16.53:1
AA ✓ pass · AA-large · AAA
Aa
#0f2313 on black: 1.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #232012
deuteranopia · #201E14
tritanopia · #0C221F

Color scale — 50 to 950

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

#F5FAF6
#EBF4ED
#D2EAD7
#B0DDB9
#89CD97
#62BC74
#49AB5D
#3D8F4E
#31723E
#275430
#0f2313
Base = 950Lightest = 50 · #F5FAF6Darkest = 950 · #0f2313
:root {
  --brand-50: #F5FAF6;
  --brand-100: #EBF4ED;
  --brand-200: #D2EAD7;
  --brand-300: #B0DDB9;
  --brand-400: #89CD97;
  --brand-500: #62BC74;
  --brand-600: #49AB5D;
  --brand-700: #3D8F4E;
  --brand-800: #31723E;
  --brand-900: #275430;
  --brand-950: #0f2313;
  --brand: #0f2313;
  --brand-ink: #ffffff;
}

Colors that work with #0f2313

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#C6E7CC
Hairlines and dividers
Muted text#4B9B5B
Captions on the surface
Accent#230E24
Second voice, not a rival
Dark variant#265930
Hover, pressed, headers
Light variant#EDF7EF
Selected rows, tints
Dark surface#142417
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 #0f2313

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#230F1F
Analogous left#15230F
Analogous right#0F231D
Split-complement 1#1D0F23
Split-complement 2#230F15
Triadic 1#130F23
Triadic 2#23130F
Tetradic#0F1523

RGB percentages

Red5.9%
Green13.7%
Blue7.5%

CMYK percentages

Cyan57.1%
Magenta0.0%
Yellow45.7%
Key (black)86.3%

Color previews

#0f2313 text on a black background

contrast 1.27:1

Card sample

#0f2313 text on a white background

contrast 16.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2313

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.

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

#0f2313, answered

What color is #0f2313?

#0f2313 is a deep soft green, closest to Black (ΔE2000 15.7). It sits at 132° on the hue wheel with 40% saturation and 10% lightness, which reads as cool.

What is the RGB value of #0f2313?

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

Is #0f2313 a light or a dark color?

It is a dark color. Relative luminance is 0.0135 and perceived brightness is 11%, so white text on it reaches 16.53:1.

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

White. It scores 16.53:1 against #0f2313, versus 1.27:1 for black — AAA at any size.

What is the complementary color of #0f2313?

#230F1F sits directly opposite on the wheel. Softer options are the split-complements #1D0F23 and #230F15, which give the same contrast with far less vibration.

What colors go well with #0f2313?

For interface work: #F4FAF6 as the surface, #C6E7CC for borders, #4B9B5B for secondary text, #230E24 as an accent and #265930 for hover and pressed states. For a palette, the analogous pair #15230F and #0F231D stays calm, while #230F1F is the loudest partner.

What is #0f2313 in CMYK for printing?

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

Is #0f2313 warm or cool?

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

Work with #0f2313 in the Color Lab