#0F6221#0F6221

#0F6221 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.5% C 0.124 H 146.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#0F6221
RGBrgb(15, 98, 33)
HSLhsl(133, 73%, 22%)
HSVhsv(133, 85%, 38%)
CMYKcmyk(84.7%, 0%, 66.3%, 61.6%)
CIE-LABlab(35.88, -38.31, 29.65)
CIE-LCHlch(35.88, 48.44, 142.26°)
OKLaboklab(43.46% -0.1031 0.0694)
OKLCHoklch(43.46% 0.124 146.1)
XYZxyz(4.8388, 8.9461, 2.9103)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6221 #620F50
analogous
#27620F #0F6221 #0F624B
triadic
#0F6221 #210F62 #62210F
tetradic
#0F6221 #0F2762 #620F50 #624B0F
square
#0F6221 #0F2762 #620F50 #624B0F
split-complementary
#0F6221 #4B0F62 #620F27
monochromatic
#041B09 #072D0F #0F6221 #179733 #1FCC45

Accessibility & contrast

On white

7.53
#0F6221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#0F6221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6221
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6221#FFFFFF#000000##FFFFFF
##0F62211.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64581A
Deuteranopia (green-blind)
#5A5227
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #0f6221;
/* rgb */ color: rgb(15, 98, 33);
/* oklch */ color: oklch(43.5% 0.124 146.1);
Tailwind
colors: {
  custom: {
    50: '#5f905f',
    500: '#0f6221',
    950: '#000000',
  },
}
SCSS
$custom: #0f6221;
$custom-light: #5f905f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6221",
  "rgb": {
    "r": 15,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 133.012,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.12435,
    "h": 146.1
  },
  "luminance": 0.08947
}

Semantic roles & 50–950 ramp

primary
#0F6221
secondary
#9B3284
accent
#38C8F0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F6221

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

Preview Lab → · Contrast checker → · Palette generator →

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