#0F6A1C#0F6A1C

#0F6A1C is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.138 H 144.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#0F6A1C
RGBrgb(15, 106, 28)
HSLhsl(129, 75%, 24%)
HSVhsv(129, 86%, 42%)
CMYKcmyk(85.8%, 0%, 73.6%, 58.4%)
CIE-LABlab(38.71, -41.73, 35.08)
CIE-LCHlch(38.71, 54.52, 139.95°)
OKLaboklab(45.8% -0.1127 0.0803)
OKLCHoklch(45.8% 0.138 144.5)
XYZxyz(5.5602, 10.4928, 2.8306)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6A1C #6A0F5D
analogous
#2F6A0F #0F6A1C #0F6A49
triadic
#0F6A1C #1C0F6A #6A1C0F
tetradic
#0F6A1C #0F2F6A #6A0F5D #6A490F
square
#0F6A1C #0F2F6A #6A0F5D #6A490F
split-complementary
#0F6A1C #490F6A #6A0F2F
monochromatic
#041B07 #07340E #0F6A1C #17A02A #1ED538

Accessibility & contrast

On white

6.78
#0F6A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#0F6A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6A1C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6A1C#FFFFFF#000000##FFFFFF
##0F6A1C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F10
Deuteranopia (green-blind)
#625924
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #0f6a1c;
/* rgb */ color: rgb(15, 106, 28);
/* oklch */ color: oklch(45.8% 0.138 144.5);
Tailwind
colors: {
  custom: {
    50: '#61965d',
    500: '#0f6a1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f6a1c;
$custom-light: #61965d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6a1c",
  "rgb": {
    "r": 15,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 128.571,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.13838,
    "h": 144.5
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#0F6A1C
secondary
#A23292
accent
#36D7F2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #0F6A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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