#0F6912#0F6912

#0F6912 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.143 H 143.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#0F6912
RGBrgb(15, 105, 18)
HSLhsl(122, 75%, 24%)
HSVhsv(122, 86%, 41%)
CMYKcmyk(85.7%, 0%, 82.9%, 58.8%)
CIE-LABlab(38.28, -42.27, 38.56)
CIE-LCHlch(38.28, 57.22, 137.63°)
OKLaboklab(45.42% -0.1146 0.0862)
OKLCHoklch(45.42% 0.143 143.1)
XYZxyz(5.3574, 10.2477, 2.2678)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6912 #690F66
analogous
#39690F #0F6912 #0F693F
triadic
#0F6912 #120F69 #69120F
tetradic
#0F6912 #0F3969 #690F66 #693F0F
square
#0F6912 #0F3969 #690F66 #693F0F
split-complementary
#0F6912 #3F0F69 #690F39
monochromatic
#041B05 #073309 #0F6912 #179F1B #1ED424

Accessibility & contrast

On white

6.89
#0F6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#0F6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6912
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6912#FFFFFF#000000##FFFFFF
##0F69121.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #0f6912;
/* rgb */ color: rgb(15, 105, 18);
/* oklch */ color: oklch(45.4% 0.143 143.1);
Tailwind
colors: {
  custom: {
    50: '#619558',
    500: '#0f6912',
    950: '#000000',
  },
}
SCSS
$custom: #0f6912;
$custom-light: #619558;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6912",
  "rgb": {
    "r": 15,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 122,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45417,
    "c": 0.14339,
    "h": 143.1
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#0F6912
secondary
#A1329E
accent
#36EBF2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #0F6912

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

Preview Lab → · Contrast checker → · Palette generator →

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