#0F5E1F#0F5E1F

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

Color values

HEX#0F5E1F
RGBrgb(15, 94, 31)
HSLhsl(132, 72%, 21%)
HSVhsv(132, 84%, 37%)
CMYKcmyk(84%, 0%, 67%, 63.1%)
CIE-LABlab(34.41, -37.11, 28.98)
CIE-LCHlch(34.41, 47.08, 142.01°)
OKLaboklab(42.23% -0.1 0.0678)
OKLCHoklch(42.23% 0.121 145.9)
XYZxyz(4.4467, 8.2054, 2.6455)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E1F #5E0F4E
analogous
#275E0F #0F5E1F #0F5E47
triadic
#0F5E1F #1F0F5E #5E1F0F
tetradic
#0F5E1F #0F275E #5E0F4E #5E470F
square
#0F5E1F #0F275E #5E0F4E #5E470F
split-complementary
#0F5E1F #470F5E #5E0F27
monochromatic
#041A09 #07290E #0F5E1F #179330 #20C842

Accessibility & contrast

On white

7.95
#0F5E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5E1F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E1F#FFFFFF#000000##FFFFFF
##0F5E1F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e1f;
/* rgb */ color: rgb(15, 94, 31);
/* oklch */ color: oklch(42.2% 0.121 145.9);
Tailwind
colors: {
  custom: {
    50: '#5e8d5d',
    500: '#0f5e1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e1f;
$custom-light: #5e8d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e1f",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 132.152,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42227,
    "c": 0.12078,
    "h": 145.9
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#0F5E1F
secondary
#973183
accent
#39CAEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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