#0F5F1B#0F5F1B

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

Color values

HEX#0F5F1B
RGBrgb(15, 95, 27)
HSLhsl(129, 73%, 22%)
HSVhsv(129, 84%, 37%)
CMYKcmyk(84.2%, 0%, 71.6%, 62.7%)
CIE-LABlab(34.73, -37.96, 31.28)
CIE-LCHlch(34.73, 49.19, 140.52°)
OKLaboklab(42.48% -0.1025 0.0722)
OKLCHoklch(42.48% 0.125 144.8)
XYZxyz(4.4867, 8.3646, 2.4148)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F1B #5F0F53
analogous
#2B5F0F #0F5F1B #0F5F43
triadic
#0F5F1B #1B0F5F #5F1B0F
tetradic
#0F5F1B #0F2B5F #5F0F53 #5F430F
square
#0F5F1B #0F2B5F #5F0F53 #5F430F
split-complementary
#0F5F1B #430F5F #5F0F2B
monochromatic
#041A08 #072A0C #0F5F1B #17942A #20C939

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #0f5f1b;
/* rgb */ color: rgb(15, 95, 27);
/* oklch */ color: oklch(42.5% 0.125 144.8);
Tailwind
colors: {
  custom: {
    50: '#5e8d5b',
    500: '#0f5f1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f1b;
$custom-light: #5e8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f1b",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 129,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42484,
    "c": 0.12535,
    "h": 144.8
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#0F5F1B
secondary
#983289
accent
#38D4EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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