#0F5E12#0F5E12

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

Color values

HEX#0F5E12
RGBrgb(15, 94, 18)
HSLhsl(122, 72%, 21%)
HSVhsv(122, 84%, 37%)
CMYKcmyk(84%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.29, -38.50, 34.67)
CIE-LCHlch(34.29, 51.81, 138.00°)
OKLaboklab(42.1% -0.1044 0.0781)
OKLCHoklch(42.1% 0.13 143.2)
XYZxyz(4.3086, 8.1501, 1.9182)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E12 #5E0F5B
analogous
#345E0F #0F5E12 #0F5E3A
triadic
#0F5E12 #120F5E #5E120F
tetradic
#0F5E12 #0F345E #5E0F5B #5E3A0F
square
#0F5E12 #0F345E #5E0F5B #5E3A0F
split-complementary
#0F5E12 #3A0F5E #5E0F34
monochromatic
#041A05 #072908 #0F5E12 #17931C #20C826

Accessibility & contrast

On white

7.98
#0F5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5E12
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E12#FFFFFF#000000##FFFFFF
##0F5E121.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e12;
/* rgb */ color: rgb(15, 94, 18);
/* oklch */ color: oklch(42.1% 0.130 143.2);
Tailwind
colors: {
  custom: {
    50: '#5e8d56',
    500: '#0f5e12',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e12;
$custom-light: #5e8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e12",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 122.278,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.13033,
    "h": 143.2
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#0F5E12
secondary
#973193
accent
#39E8EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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