#0F6227#0F6227

#0F6227 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.5% C 0.119 H 147.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#0F6227
RGBrgb(15, 98, 39)
HSLhsl(137, 73%, 22%)
HSVhsv(137, 85%, 38%)
CMYKcmyk(84.7%, 0%, 60.2%, 61.6%)
CIE-LABlab(35.95, -37.45, 26.63)
CIE-LCHlch(35.95, 45.96, 144.58°)
OKLaboklab(43.54% -0.1006 0.0635)
OKLCHoklch(43.54% 0.119 147.8)
XYZxyz(4.9305, 8.9828, 3.3931)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6227 #620F4A
analogous
#21620F #0F6227 #0F6250
triadic
#0F6227 #270F62 #62270F
tetradic
#0F6227 #0F2162 #620F4A #62500F
square
#0F6227 #0F2162 #620F4A #62500F
split-complementary
#0F6227 #500F62 #620F21
monochromatic
#041B0B #072D12 #0F6227 #17973C #1FCC51

Accessibility & contrast

On white

7.51
#0F6227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#0F6227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6227
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6227#FFFFFF#000000##FFFFFF
##0F62271.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635821
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #0f6227;
/* rgb */ color: rgb(15, 98, 39);
/* oklch */ color: oklch(43.5% 0.119 147.8);
Tailwind
colors: {
  custom: {
    50: '#5e9063',
    500: '#0f6227',
    950: '#000000',
  },
}
SCSS
$custom: #0f6227;
$custom-light: #5e9063;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6227",
  "rgb": {
    "r": 15,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 137.349,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43539,
    "c": 0.11898,
    "h": 147.8
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#0F6227
secondary
#9B327D
accent
#38BBF0
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F6227

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

Preview Lab → · Contrast checker → · Palette generator →

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