#0F6226#0F6226

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

Color values

HEX#0F6226
RGBrgb(15, 98, 38)
HSLhsl(137, 73%, 22%)
HSVhsv(137, 85%, 38%)
CMYKcmyk(84.7%, 0%, 61.2%, 61.6%)
CIE-LABlab(35.94, -37.61, 27.15)
CIE-LCHlch(35.94, 46.38, 144.17°)
OKLaboklab(43.53% -0.1011 0.0645)
OKLCHoklch(43.53% 0.12 147.5)
XYZxyz(4.9141, 8.9763, 3.3069)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6226 #620F4B
analogous
#21620F #0F6226 #0F6250
triadic
#0F6226 #260F62 #62260F
tetradic
#0F6226 #0F2162 #620F4B #62500F
square
#0F6226 #0F2162 #620F4B #62500F
split-complementary
#0F6226 #500F62 #620F21
monochromatic
#041B0A #072D11 #0F6226 #17973B #1FCC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F6226#FFFFFF#000000##FFFFFF
##0F62261.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)
#635820
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #0f6226;
/* rgb */ color: rgb(15, 98, 38);
/* oklch */ color: oklch(43.5% 0.120 147.5);
Tailwind
colors: {
  custom: {
    50: '#5e9062',
    500: '#0f6226',
    950: '#000000',
  },
}
SCSS
$custom: #0f6226;
$custom-light: #5e9062;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6226",
  "rgb": {
    "r": 15,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 136.627,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.1199,
    "h": 147.5
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#0F6226
secondary
#9B327E
accent
#38BDF0
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F6226

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

Preview Lab → · Contrast checker → · Palette generator →

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