#0F6018#0F6018

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

Color values

HEX#0F6018
RGBrgb(15, 96, 24)
HSLhsl(127, 73%, 22%)
HSVhsv(127, 84%, 38%)
CMYKcmyk(84.4%, 0%, 75%, 62.4%)
CIE-LABlab(35.07, -38.65, 32.99)
CIE-LCHlch(35.07, 50.82, 139.51°)
OKLaboklab(42.76% -0.1045 0.0754)
OKLCHoklch(42.76% 0.129 144.2)
XYZxyz(4.5444, 8.5327, 2.2714)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6018 #600F57
analogous
#2F600F #0F6018 #0F6041
triadic
#0F6018 #180F60 #60180F
tetradic
#0F6018 #0F2F60 #600F57 #60410F
square
#0F6018 #0F2F60 #600F57 #60410F
split-complementary
#0F6018 #410F60 #600F2F
monochromatic
#041A07 #072B0B #0F6018 #179525 #20CA32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F6018#FFFFFF#000000##FFFFFF
##0F60181.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)
#62560D
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f6018;
/* rgb */ color: rgb(15, 96, 24);
/* oklch */ color: oklch(42.8% 0.129 144.2);
Tailwind
colors: {
  custom: {
    50: '#5e8e59',
    500: '#0f6018',
    950: '#000000',
  },
}
SCSS
$custom: #0f6018;
$custom-light: #5e8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6018",
  "rgb": {
    "r": 15,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 126.667,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42756,
    "c": 0.12884,
    "h": 144.2
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#0F6018
secondary
#99328E
accent
#38DBF0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F6018

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

Preview Lab → · Contrast checker → · Palette generator →

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