#0F5E18#0F5E18

#0F5E18 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.1% C 0.126 H 144.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#0F5E18
RGBrgb(15, 94, 24)
HSLhsl(127, 72%, 21%)
HSVhsv(127, 84%, 37%)
CMYKcmyk(84%, 0%, 74.5%, 63.1%)
CIE-LABlab(34.34, -37.94, 32.22)
CIE-LCHlch(34.34, 49.77, 139.65°)
OKLaboklab(42.15% -0.1025 0.0738)
OKLCHoklch(42.15% 0.126 144.2)
XYZxyz(4.3643, 8.1724, 2.2114)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E18 #5E0F55
analogous
#2E5E0F #0F5E18 #0F5E40
triadic
#0F5E18 #180F5E #5E180F
tetradic
#0F5E18 #0F2E5E #5E0F55 #5E400F
square
#0F5E18 #0F2E5E #5E0F55 #5E400F
split-complementary
#0F5E18 #400F5E #5E0F2E
monochromatic
#041A07 #07290B #0F5E18 #179325 #20C833

Accessibility & contrast

On white

7.97
#0F5E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#0F5E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E18
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E18#FFFFFF#000000##FFFFFF
##0F5E181.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540D
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e18;
/* rgb */ color: rgb(15, 94, 24);
/* oklch */ color: oklch(42.1% 0.126 144.2);
Tailwind
colors: {
  custom: {
    50: '#5e8d59',
    500: '#0f5e18',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e18;
$custom-light: #5e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e18",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 126.835,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.12633,
    "h": 144.2
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#0F5E18
secondary
#97318C
accent
#39DAEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5E18

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

Preview Lab → · Contrast checker → · Palette generator →

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