#0F5F15#0F5F15

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

Color values

HEX#0F5F15
RGBrgb(15, 95, 21)
HSLhsl(125, 73%, 22%)
HSVhsv(125, 84%, 37%)
CMYKcmyk(84.2%, 0%, 77.9%, 62.7%)
CIE-LABlab(34.68, -38.59, 33.87)
CIE-LCHlch(34.68, 51.34, 138.73°)
OKLaboklab(42.43% -0.1044 0.0768)
OKLCHoklch(42.43% 0.13 143.7)
XYZxyz(4.4243, 8.3396, 2.0858)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F15 #5F0F59
analogous
#315F0F #0F5F15 #0F5F3D
triadic
#0F5F15 #150F5F #5F150F
tetradic
#0F5F15 #0F315F #5F0F59 #5F3D0F
square
#0F5F15 #0F315F #5F0F59 #5F3D0F
split-complementary
#0F5F15 #3D0F5F #5F0F31
monochromatic
#041A06 #072A09 #0F5F15 #179421 #20C92C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5F15#FFFFFF#000000##FFFFFF
##0F5F151.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)
#615508
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f15;
/* rgb */ color: rgb(15, 95, 21);
/* oklch */ color: oklch(42.4% 0.130 143.7);
Tailwind
colors: {
  custom: {
    50: '#5e8d58',
    500: '#0f5f15',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f15;
$custom-light: #5e8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f15",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 124.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42425,
    "c": 0.12966,
    "h": 143.7
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#0F5F15
secondary
#983291
accent
#38E2EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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