#0F5F18#0F5F18

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

Color values

HEX#0F5F18
RGBrgb(15, 95, 24)
HSLhsl(127, 73%, 22%)
HSVhsv(127, 84%, 37%)
CMYKcmyk(84.2%, 0%, 74.7%, 62.7%)
CIE-LABlab(34.70, -38.29, 32.61)
CIE-LCHlch(34.70, 50.30, 139.58°)
OKLaboklab(42.45% -0.1035 0.0746)
OKLCHoklch(42.45% 0.128 144.2)
XYZxyz(4.4538, 8.3514, 2.2412)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F18 #5F0F56
analogous
#2E5F0F #0F5F18 #0F5F40
triadic
#0F5F18 #180F5F #5F180F
tetradic
#0F5F18 #0F2E5F #5F0F56 #5F400F
square
#0F5F18 #0F2E5F #5F0F56 #5F400F
split-complementary
#0F5F18 #400F5F #5F0F2E
monochromatic
#041A07 #072A0B #0F5F18 #179425 #20C933

Accessibility & contrast

On white

7.86
#0F5F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5F18
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F18#FFFFFF#000000##FFFFFF
##0F5F181.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5f18;
/* rgb */ color: rgb(15, 95, 24);
/* oklch */ color: oklch(42.5% 0.128 144.2);
Tailwind
colors: {
  custom: {
    50: '#5e8d59',
    500: '#0f5f18',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f18;
$custom-light: #5e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f18",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 126.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42453,
    "c": 0.12759,
    "h": 144.2
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#0F5F18
secondary
#98328D
accent
#38DBEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5F18

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

Preview Lab → · Contrast checker → · Palette generator →

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