#0F5F1C#0F5F1C

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

Color values

HEX#0F5F1C
RGBrgb(15, 95, 28)
HSLhsl(130, 73%, 22%)
HSVhsv(130, 84%, 37%)
CMYKcmyk(84.2%, 0%, 70.5%, 62.7%)
CIE-LABlab(34.74, -37.85, 30.82)
CIE-LCHlch(34.74, 48.81, 140.85°)
OKLaboklab(42.49% -0.1021 0.0714)
OKLCHoklch(42.49% 0.125 145)
XYZxyz(4.4985, 8.3693, 2.4767)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F1C #5F0F52
analogous
#2A5F0F #0F5F1C #0F5F44
triadic
#0F5F1C #1C0F5F #5F1C0F
tetradic
#0F5F1C #0F2A5F #5F0F52 #5F440F
square
#0F5F1C #0F2A5F #5F0F52 #5F440F
split-complementary
#0F5F1C #440F5F #5F0F2A
monochromatic
#041A08 #072A0C #0F5F1C #17942C #20C93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5F1C#FFFFFF#000000##FFFFFF
##0F5F1C1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5f1c;
/* rgb */ color: rgb(15, 95, 28);
/* oklch */ color: oklch(42.5% 0.125 145.0);
Tailwind
colors: {
  custom: {
    50: '#5e8d5c',
    500: '#0f5f1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f1c;
$custom-light: #5e8d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f1c",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 129.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.12457,
    "h": 145
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#0F5F1C
secondary
#983288
accent
#38D2EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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