#0F6012#0F6012

#0F6012 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.133 H 143.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#0F6012
RGBrgb(15, 96, 18)
HSLhsl(122, 73%, 22%)
HSVhsv(122, 84%, 38%)
CMYKcmyk(84.4%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.02, -39.20, 35.39)
CIE-LCHlch(35.02, 52.81, 137.92°)
OKLaboklab(42.7% -0.1063 0.0796)
OKLCHoklch(42.7% 0.133 143.2)
XYZxyz(4.4888, 8.5104, 1.9783)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6012 #600F5D
analogous
#35600F #0F6012 #0F603B
triadic
#0F6012 #120F60 #60120F
tetradic
#0F6012 #0F3560 #600F5D #603B0F
square
#0F6012 #0F3560 #600F5D #603B0F
split-complementary
#0F6012 #3B0F60 #600F35
monochromatic
#041A05 #072B08 #0F6012 #17951C #20CA26

Accessibility & contrast

On white

7.77
#0F6012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#0F6012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6012
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6012#FFFFFF#000000##FFFFFF
##0F60121.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#005D51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f6012;
/* rgb */ color: rgb(15, 96, 18);
/* oklch */ color: oklch(42.7% 0.133 143.2);
Tailwind
colors: {
  custom: {
    50: '#5f8e56',
    500: '#0f6012',
    950: '#000000',
  },
}
SCSS
$custom: #0f6012;
$custom-light: #5f8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6012",
  "rgb": {
    "r": 15,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 122.222,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.13276,
    "h": 143.2
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#0F6012
secondary
#993295
accent
#38E9F0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #0F6012

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

Preview Lab → · Contrast checker → · Palette generator →

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