#0F7412#0F7412

#0F7412 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.156 H 142.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#0F7412
RGBrgb(15, 116, 18)
HSLhsl(122, 77%, 26%)
HSVhsv(122, 87%, 45%)
CMYKcmyk(87.1%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.21, -45.89, 42.29)
CIE-LCHlch(42.21, 62.40, 137.34°)
OKLaboklab(48.69% -0.1244 0.094)
OKLCHoklch(48.69% 0.156 142.9)
XYZxyz(6.5511, 12.6352, 2.6657)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7412 #740F71
analogous
#3E740F #0F7412 #0F7444
triadic
#0F7412 #120F74 #74120F
tetradic
#0F7412 #0F3E74 #740F71 #74440F
square
#0F7412 #0F3E74 #740F71 #74440F
split-complementary
#0F7412 #440F74 #740F3E
monochromatic
#041B04 #083E0A #0F7412 #16AA1A #1DE023

Accessibility & contrast

On white

5.95
#0F7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#0F7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7412
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7412#FFFFFF#000000##FFFFFF
##0F74121.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #0f7412;
/* rgb */ color: rgb(15, 116, 18);
/* oklch */ color: oklch(48.7% 0.156 142.9);
Tailwind
colors: {
  custom: {
    50: '#659d59',
    500: '#0f7412',
    950: '#000000',
  },
}
SCSS
$custom: #0f7412;
$custom-light: #659d59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7412",
  "rgb": {
    "r": 15,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 121.782,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48685,
    "c": 0.15592,
    "h": 142.9
  },
  "luminance": 0.12636
}

Semantic roles & 50–950 ramp

primary
#0F7412
secondary
#AC33A8
accent
#34EEF4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #0F7412

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

Preview Lab → · Contrast checker → · Palette generator →

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