#0F5F17#0F5F17

#0F5F17 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.128 H 144.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#0F5F17
RGBrgb(15, 95, 23)
HSLhsl(126, 73%, 22%)
HSVhsv(126, 84%, 37%)
CMYKcmyk(84.2%, 0%, 75.8%, 62.7%)
CIE-LABlab(34.70, -38.39, 33.04)
CIE-LCHlch(34.70, 50.65, 139.29°)
OKLaboklab(42.44% -0.1038 0.0754)
OKLCHoklch(42.44% 0.128 144)
XYZxyz(4.4436, 8.3473, 2.1874)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F17 #5F0F57
analogous
#2F5F0F #0F5F17 #0F5F3F
triadic
#0F5F17 #170F5F #5F170F
tetradic
#0F5F17 #0F2F5F #5F0F57 #5F3F0F
square
#0F5F17 #0F2F5F #5F0F57 #5F3F0F
split-complementary
#0F5F17 #3F0F5F #5F0F2F
monochromatic
#041A06 #072A0A #0F5F17 #179424 #20C931

Accessibility & contrast

On white

7.87
#0F5F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#0F5F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F17
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F17#FFFFFF#000000##FFFFFF
##0F5F171.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550B
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f17;
/* rgb */ color: rgb(15, 95, 23);
/* oklch */ color: oklch(42.4% 0.128 144.0);
Tailwind
colors: {
  custom: {
    50: '#5e8d59',
    500: '#0f5f17',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f17;
$custom-light: #5e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f17",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 126,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.1283,
    "h": 144
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#0F5F17
secondary
#98328E
accent
#38DDEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5F17

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

Preview Lab → · Contrast checker → · Palette generator →

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