#0F6218#0F6218

#0F6218 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.4% C 0.131 H 144.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#0F6218
RGBrgb(15, 98, 24)
HSLhsl(127, 73%, 22%)
HSVhsv(127, 85%, 38%)
CMYKcmyk(84.7%, 0%, 75.5%, 61.6%)
CIE-LABlab(35.80, -39.35, 33.75)
CIE-LCHlch(35.80, 51.85, 139.38°)
OKLaboklab(43.36% -0.1064 0.077)
OKLCHoklch(43.36% 0.131 144.1)
XYZxyz(4.7292, 8.9023, 2.3330)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6218 #620F59
analogous
#30620F #0F6218 #0F6242
triadic
#0F6218 #180F62 #62180F
tetradic
#0F6218 #0F3062 #620F59 #62420F
square
#0F6218 #0F3062 #620F59 #62420F
split-complementary
#0F6218 #420F62 #620F30
monochromatic
#041B06 #072D0B #0F6218 #179725 #1FCC32

Accessibility & contrast

On white

7.55
#0F6218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#0F6218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6218
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6218#FFFFFF#000000##FFFFFF
##0F62181.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#005F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #0f6218;
/* rgb */ color: rgb(15, 98, 24);
/* oklch */ color: oklch(43.4% 0.131 144.1);
Tailwind
colors: {
  custom: {
    50: '#5f905a',
    500: '#0f6218',
    950: '#000000',
  },
}
SCSS
$custom: #0f6218;
$custom-light: #5f905a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6218",
  "rgb": {
    "r": 15,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 126.506,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4336,
    "c": 0.13133,
    "h": 144.1
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#0F6218
secondary
#9B3290
accent
#38DCF0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #0F6218

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

Preview Lab → · Contrast checker → · Palette generator →

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