#0F7212#0F7212

#0F7212 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.1% C 0.154 H 143.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#0F7212
RGBrgb(15, 114, 18)
HSLhsl(122, 77%, 25%)
HSVhsv(122, 87%, 45%)
CMYKcmyk(86.8%, 0%, 84.2%, 55.3%)
CIE-LABlab(41.50, -45.24, 41.62)
CIE-LCHlch(41.50, 61.48, 137.39°)
OKLaboklab(48.09% -0.1227 0.0926)
OKLCHoklch(48.09% 0.154 143)
XYZxyz(6.3231, 12.1791, 2.5897)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7212 #720F6F
analogous
#3E720F #0F7212 #0F7243
triadic
#0F7212 #120F72 #72120F
tetradic
#0F7212 #0F3E72 #720F6F #72430F
square
#0F7212 #0F3E72 #720F6F #72430F
split-complementary
#0F7212 #430F72 #720F3E
monochromatic
#041B04 #083C09 #0F7212 #16A81B #1DDE23

Accessibility & contrast

On white

6.11
#0F7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#0F7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7212
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7212#FFFFFF#000000##FFFFFF
##0F72121.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #0f7212;
/* rgb */ color: rgb(15, 114, 18);
/* oklch */ color: oklch(48.1% 0.154 143.0);
Tailwind
colors: {
  custom: {
    50: '#649c59',
    500: '#0f7212',
    950: '#000000',
  },
}
SCSS
$custom: #0f7212;
$custom-light: #649c59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7212",
  "rgb": {
    "r": 15,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 121.818,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.15368,
    "h": 143
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#0F7212
secondary
#AA33A6
accent
#35EEF3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #0F7212

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

Preview Lab → · Contrast checker → · Palette generator →

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