#0F5F1D#0F5F1D

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

Color values

HEX#0F5F1D
RGBrgb(15, 95, 29)
HSLhsl(131, 73%, 22%)
HSVhsv(131, 84%, 37%)
CMYKcmyk(84.2%, 0%, 69.5%, 62.7%)
CIE-LABlab(34.75, -37.73, 30.35)
CIE-LCHlch(34.75, 48.42, 141.19°)
OKLaboklab(42.51% -0.1017 0.0705)
OKLCHoklch(42.51% 0.124 145.3)
XYZxyz(4.5107, 8.3741, 2.5408)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F1D #5F0F51
analogous
#295F0F #0F5F1D #0F5F45
triadic
#0F5F1D #1D0F5F #5F1D0F
tetradic
#0F5F1D #0F295F #5F0F51 #5F450F
square
#0F5F1D #0F295F #5F0F51 #5F450F
split-complementary
#0F5F1D #450F5F #5F0F29
monochromatic
#041A08 #072A0D #0F5F1D #17942D #20C93D

Accessibility & contrast

On white

7.85
#0F5F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#0F5F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F1D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F1D#FFFFFF#000000##FFFFFF
##0F5F1D1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615515
Deuteranopia (green-blind)
#584F23
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f1d;
/* rgb */ color: rgb(15, 95, 29);
/* oklch */ color: oklch(42.5% 0.124 145.3);
Tailwind
colors: {
  custom: {
    50: '#5e8d5c',
    500: '#0f5f1d',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f1d;
$custom-light: #5e8d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f1d",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 29
  },
  "hsl": {
    "h": 130.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42506,
    "c": 0.12375,
    "h": 145.3
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#0F5F1D
secondary
#983286
accent
#38CFEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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