#0F5E1C#0F5E1C

#0F5E1C is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.123 H 145.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#0F5E1C
RGBrgb(15, 94, 28)
HSLhsl(130, 72%, 21%)
HSVhsv(130, 84%, 37%)
CMYKcmyk(84%, 0%, 70.2%, 63.1%)
CIE-LABlab(34.38, -37.48, 30.42)
CIE-LCHlch(34.38, 48.27, 140.94°)
OKLaboklab(42.19% -0.1011 0.0705)
OKLCHoklch(42.19% 0.123 145.1)
XYZxyz(4.4090, 8.1903, 2.4469)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E1C #5E0F51
analogous
#2A5E0F #0F5E1C #0F5E44
triadic
#0F5E1C #1C0F5E #5E1C0F
tetradic
#0F5E1C #0F2A5E #5E0F51 #5E440F
square
#0F5E1C #0F2A5E #5E0F51 #5E440F
split-complementary
#0F5E1C #440F5E #5E0F2A
monochromatic
#041A08 #07290C #0F5E1C #17932C #20C83B

Accessibility & contrast

On white

7.96
#0F5E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#0F5E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E1C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E1C#FFFFFF#000000##FFFFFF
##0F5E1C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605414
Deuteranopia (green-blind)
#574E22
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e1c;
/* rgb */ color: rgb(15, 94, 28);
/* oklch */ color: oklch(42.2% 0.123 145.1);
Tailwind
colors: {
  custom: {
    50: '#5e8d5b',
    500: '#0f5e1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e1c;
$custom-light: #5e8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e1c",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 28
  },
  "hsl": {
    "h": 129.873,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.12327,
    "h": 145.1
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#0F5E1C
secondary
#973187
accent
#39D1EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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