#0F6017#0F6017

#0F6017 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.130 H 144.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#0F6017
RGBrgb(15, 96, 23)
HSLhsl(126, 73%, 22%)
HSVhsv(126, 84%, 38%)
CMYKcmyk(84.4%, 0%, 76%, 62.4%)
CIE-LABlab(35.06, -38.75, 33.42)
CIE-LCHlch(35.06, 51.17, 139.23°)
OKLaboklab(42.75% -0.1048 0.0762)
OKLCHoklch(42.75% 0.13 144)
XYZxyz(4.5342, 8.5286, 2.2177)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6017 #600F58
analogous
#30600F #0F6017 #0F6040
triadic
#0F6017 #170F60 #60170F
tetradic
#0F6017 #0F3060 #600F58 #60400F
square
#0F6017 #0F3060 #600F58 #60400F
split-complementary
#0F6017 #400F60 #600F30
monochromatic
#041A06 #072B0A #0F6017 #179524 #20CA30

Accessibility & contrast

On white

7.76
#0F6017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#0F6017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6017
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6017#FFFFFF#000000##FFFFFF
##0F60171.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f6017;
/* rgb */ color: rgb(15, 96, 23);
/* oklch */ color: oklch(42.7% 0.130 144.0);
Tailwind
colors: {
  custom: {
    50: '#5f8e59',
    500: '#0f6017',
    950: '#000000',
  },
}
SCSS
$custom: #0f6017;
$custom-light: #5f8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6017",
  "rgb": {
    "r": 15,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 125.926,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.12955,
    "h": 144
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#0F6017
secondary
#99328F
accent
#38DEF0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #0F6017

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

Preview Lab → · Contrast checker → · Palette generator →

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