#0F6A12#0F6A12

#0F6A12 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.7% C 0.145 H 143.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#0F6A12
RGBrgb(15, 106, 18)
HSLhsl(122, 75%, 24%)
HSVhsv(122, 86%, 42%)
CMYKcmyk(85.8%, 0%, 83%, 58.4%)
CIE-LABlab(38.64, -42.61, 38.91)
CIE-LCHlch(38.64, 57.70, 137.60°)
OKLaboklab(45.72% -0.1155 0.0869)
OKLCHoklch(45.72% 0.145 143)
XYZxyz(5.4599, 10.4526, 2.3020)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6A12 #6A0F67
analogous
#396A0F #0F6A12 #0F6A3F
triadic
#0F6A12 #120F6A #6A120F
tetradic
#0F6A12 #0F396A #6A0F67 #6A3F0F
square
#0F6A12 #0F396A #6A0F67 #6A3F0F
split-complementary
#0F6A12 #3F0F6A #6A0F39
monochromatic
#041B05 #073409 #0F6A12 #17A01B #1ED524

Accessibility & contrast

On white

6.79
#0F6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#0F6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6A12
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6A12#FFFFFF#000000##FFFFFF
##0F6A121.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #0f6a12;
/* rgb */ color: rgb(15, 106, 18);
/* oklch */ color: oklch(45.7% 0.145 143.0);
Tailwind
colors: {
  custom: {
    50: '#629658',
    500: '#0f6a12',
    950: '#000000',
  },
}
SCSS
$custom: #0f6a12;
$custom-light: #629658;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6a12",
  "rgb": {
    "r": 15,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 121.978,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.14455,
    "h": 143
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#0F6A12
secondary
#A2329F
accent
#36ECF2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #0F6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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