#0F6812#0F6812

#0F6812 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.142 H 143.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#0F6812
RGBrgb(15, 104, 18)
HSLhsl(122, 75%, 23%)
HSVhsv(122, 86%, 41%)
CMYKcmyk(85.6%, 0%, 82.7%, 59.2%)
CIE-LABlab(37.92, -41.93, 38.22)
CIE-LCHlch(37.92, 56.74, 137.65°)
OKLaboklab(45.12% -0.1137 0.0855)
OKLCHoklch(45.12% 0.142 143.1)
XYZxyz(5.2562, 10.0452, 2.2341)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6812 #680F65
analogous
#38680F #0F6812 #0F683E
triadic
#0F6812 #120F68 #68120F
tetradic
#0F6812 #0F3868 #680F65 #683E0F
square
#0F6812 #0F3868 #680F65 #683E0F
split-complementary
#0F6812 #3E0F68 #680F38
monochromatic
#041B05 #073309 #0F6812 #179D1B #1ED325

Accessibility & contrast

On white

6.98
#0F6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#0F6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6812
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6812#FFFFFF#000000##FFFFFF
##0F68121.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #0f6812;
/* rgb */ color: rgb(15, 104, 18);
/* oklch */ color: oklch(45.1% 0.142 143.1);
Tailwind
colors: {
  custom: {
    50: '#619458',
    500: '#0f6812',
    950: '#000000',
  },
}
SCSS
$custom: #0f6812;
$custom-light: #619458;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6812",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 122.022,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.14223,
    "h": 143.1
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#0F6812
secondary
#A1329D
accent
#36EBF1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #0F6812

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

Preview Lab → · Contrast checker → · Palette generator →

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