#0F5F1A#0F5F1A

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

Color values

HEX#0F5F1A
RGBrgb(15, 95, 26)
HSLhsl(128, 73%, 22%)
HSVhsv(128, 84%, 37%)
CMYKcmyk(84.2%, 0%, 72.6%, 62.7%)
CIE-LABlab(34.72, -38.08, 31.73)
CIE-LCHlch(34.72, 49.56, 140.20°)
OKLaboklab(42.47% -0.1028 0.073)
OKLCHoklch(42.47% 0.126 144.6)
XYZxyz(4.4754, 8.3600, 2.3549)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F1A #5F0F54
analogous
#2C5F0F #0F5F1A #0F5F42
triadic
#0F5F1A #1A0F5F #5F1A0F
tetradic
#0F5F1A #0F2C5F #5F0F54 #5F420F
square
#0F5F1A #0F2C5F #5F0F54 #5F420F
split-complementary
#0F5F1A #420F5F #5F0F2C
monochromatic
#041A07 #072A0C #0F5F1A #179428 #20C937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5F1A#FFFFFF#000000##FFFFFF
##0F5F1A1.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)
#615510
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f1a;
/* rgb */ color: rgb(15, 95, 26);
/* oklch */ color: oklch(42.5% 0.126 144.6);
Tailwind
colors: {
  custom: {
    50: '#5e8d5a',
    500: '#0f5f1a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f1a;
$custom-light: #5e8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f1a",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 128.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42473,
    "c": 0.12611,
    "h": 144.6
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#0F5F1A
secondary
#98328A
accent
#38D6EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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