#0F6A1F#0F6A1F

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

Color values

HEX#0F6A1F
RGBrgb(15, 106, 31)
HSLhsl(131, 75%, 24%)
HSVhsv(131, 86%, 42%)
CMYKcmyk(85.8%, 0%, 70.8%, 58.4%)
CIE-LABlab(38.74, -41.41, 33.78)
CIE-LCHlch(38.74, 53.44, 140.80°)
OKLaboklab(45.83% -0.1116 0.078)
OKLCHoklch(45.83% 0.136 145.1)
XYZxyz(5.5980, 10.5079, 3.0292)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6A1F #6A0F5A
analogous
#2C6A0F #0F6A1F #0F6A4C
triadic
#0F6A1F #1F0F6A #6A1F0F
tetradic
#0F6A1F #0F2C6A #6A0F5A #6A4C0F
square
#0F6A1F #0F2C6A #6A0F5A #6A4C0F
split-complementary
#0F6A1F #4C0F6A #6A0F2C
monochromatic
#041B08 #07340F #0F6A1F #17A02F #1ED53E

Accessibility & contrast

On white

6.77
#0F6A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #0F6A1F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6A1F#FFFFFF#000000##FFFFFF
##0F6A1F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F15
Deuteranopia (green-blind)
#625926
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #0f6a1f;
/* rgb */ color: rgb(15, 106, 31);
/* oklch */ color: oklch(45.8% 0.136 145.1);
Tailwind
colors: {
  custom: {
    50: '#61965f',
    500: '#0f6a1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f6a1f;
$custom-light: #61965f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6a1f",
  "rgb": {
    "r": 15,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 130.549,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45827,
    "c": 0.13618,
    "h": 145.1
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#0F6A1F
secondary
#A2328F
accent
#36D1F2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #0F6A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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