#0F7612#0F7612

#0F7612 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.3% C 0.158 H 142.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#0F7612
RGBrgb(15, 118, 18)
HSLhsl(122, 77%, 26%)
HSVhsv(122, 87%, 46%)
CMYKcmyk(87.3%, 0%, 84.7%, 53.7%)
CIE-LABlab(42.92, -46.54, 42.95)
CIE-LCHlch(42.92, 63.33, 137.30°)
OKLaboklab(49.27% -0.1262 0.0953)
OKLCHoklch(49.27% 0.158 142.9)
XYZxyz(6.7842, 13.1013, 2.7434)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7612 #760F73
analogous
#3F760F #0F7612 #0F7645
triadic
#0F7612 #120F76 #76120F
tetradic
#0F7612 #0F3F76 #760F73 #76450F
square
#0F7612 #0F3F76 #760F73 #76450F
split-complementary
#0F7612 #450F76 #760F3F
monochromatic
#031B04 #08400A #0F7612 #16AC1A #1DE223

Accessibility & contrast

On white

5.80
#0F7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#0F7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7612
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7612#FFFFFF#000000##FFFFFF
##0F76121.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #0f7612;
/* rgb */ color: rgb(15, 118, 18);
/* oklch */ color: oklch(49.3% 0.158 142.9);
Tailwind
colors: {
  custom: {
    50: '#659f5a',
    500: '#0f7612',
    950: '#000000',
  },
}
SCSS
$custom: #0f7612;
$custom-light: #659f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7612",
  "rgb": {
    "r": 15,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 121.748,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49274,
    "c": 0.15815,
    "h": 142.9
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#0F7612
secondary
#AD33AA
accent
#34EEF4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #0F7612

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

Preview Lab → · Contrast checker → · Palette generator →

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