#0F5F19#0F5F19

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

Color values

HEX#0F5F19
RGBrgb(15, 95, 25)
HSLhsl(128, 73%, 22%)
HSVhsv(128, 84%, 37%)
CMYKcmyk(84.2%, 0%, 73.7%, 62.7%)
CIE-LABlab(34.71, -38.19, 32.17)
CIE-LCHlch(34.71, 49.93, 139.88°)
OKLaboklab(42.46% -0.1032 0.0738)
OKLCHoklch(42.46% 0.127 144.4)
XYZxyz(4.4644, 8.3556, 2.2970)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F19 #5F0F55
analogous
#2D5F0F #0F5F19 #0F5F41
triadic
#0F5F19 #190F5F #5F190F
tetradic
#0F5F19 #0F2D5F #5F0F55 #5F410F
square
#0F5F19 #0F2D5F #5F0F55 #5F410F
split-complementary
#0F5F19 #410F5F #5F0F2D
monochromatic
#041A07 #072A0B #0F5F19 #179427 #20C935

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5F19#FFFFFF#000000##FFFFFF
##0F5F191.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)
#61550F
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f19;
/* rgb */ color: rgb(15, 95, 25);
/* oklch */ color: oklch(42.5% 0.127 144.4);
Tailwind
colors: {
  custom: {
    50: '#5e8d5a',
    500: '#0f5f19',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f19;
$custom-light: #5e8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f19",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 127.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42463,
    "c": 0.12686,
    "h": 144.4
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#0F5F19
secondary
#98328B
accent
#38D9EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5F19

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

Preview Lab → · Contrast checker → · Palette generator →

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