#0F5F1F#0F5F1F

#0F5F1F is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.122 H 145.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#0F5F1F
RGBrgb(15, 95, 31)
HSLhsl(132, 73%, 22%)
HSVhsv(132, 84%, 37%)
CMYKcmyk(84.2%, 0%, 67.4%, 62.7%)
CIE-LABlab(34.77, -37.47, 29.39)
CIE-LCHlch(34.77, 47.63, 141.89°)
OKLaboklab(42.53% -0.101 0.0687)
OKLCHoklch(42.53% 0.122 145.8)
XYZxyz(4.5362, 8.3844, 2.6753)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F1F #5F0F4F
analogous
#275F0F #0F5F1F #0F5F47
triadic
#0F5F1F #1F0F5F #5F1F0F
tetradic
#0F5F1F #0F275F #5F0F4F #5F470F
square
#0F5F1F #0F275F #5F0F4F #5F470F
split-complementary
#0F5F1F #470F5F #5F0F27
monochromatic
#041A09 #072A0E #0F5F1F #179430 #20C941

Accessibility & contrast

On white

7.84
#0F5F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#0F5F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F1F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F1F#FFFFFF#000000##FFFFFF
##0F5F1F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615518
Deuteranopia (green-blind)
#584F25
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f1f;
/* rgb */ color: rgb(15, 95, 31);
/* oklch */ color: oklch(42.5% 0.122 145.8);
Tailwind
colors: {
  custom: {
    50: '#5e8d5d',
    500: '#0f5f1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f1f;
$custom-light: #5e8d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f1f",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 132,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4253,
    "c": 0.1221,
    "h": 145.8
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#0F5F1F
secondary
#983284
accent
#38CBEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5F1F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0F5F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva