#0F6222#0F6222

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

Color values

HEX#0F6222
RGBrgb(15, 98, 34)
HSLhsl(134, 73%, 22%)
HSVhsv(134, 85%, 38%)
CMYKcmyk(84.7%, 0%, 65.3%, 61.6%)
CIE-LABlab(35.89, -38.18, 29.16)
CIE-LCHlch(35.89, 48.04, 142.63°)
OKLaboklab(43.47% -0.1027 0.0685)
OKLCHoklch(43.47% 0.123 146.3)
XYZxyz(4.8531, 8.9518, 2.9852)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6222 #620F4F
analogous
#26620F #0F6222 #0F624C
triadic
#0F6222 #220F62 #62220F
tetradic
#0F6222 #0F2662 #620F4F #624C0F
square
#0F6222 #0F2662 #620F4F #624C0F
split-complementary
#0F6222 #4C0F62 #620F26
monochromatic
#041B09 #072D10 #0F6222 #179734 #1FCC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F6222#FFFFFF#000000##FFFFFF
##0F62221.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)
#63581B
Deuteranopia (green-blind)
#5A5227
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #0f6222;
/* rgb */ color: rgb(15, 98, 34);
/* oklch */ color: oklch(43.5% 0.123 146.3);
Tailwind
colors: {
  custom: {
    50: '#5f9060',
    500: '#0f6222',
    950: '#000000',
  },
}
SCSS
$custom: #0f6222;
$custom-light: #5f9060;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6222",
  "rgb": {
    "r": 15,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 133.735,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43471,
    "c": 0.12348,
    "h": 146.3
  },
  "luminance": 0.08952
}

Semantic roles & 50–950 ramp

primary
#0F6222
secondary
#9B3283
accent
#38C6F0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F6222

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

Preview Lab → · Contrast checker → · Palette generator →

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