#0F561F#0F561F

#0F561F is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.8% C 0.110 H 146.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#0F561F
RGBrgb(15, 86, 31)
HSLhsl(134, 70%, 20%)
HSVhsv(134, 83%, 34%)
CMYKcmyk(82.6%, 0%, 64%, 66.3%)
CIE-LABlab(31.48, -34.09, 25.62)
CIE-LCHlch(31.48, 42.65, 143.08°)
OKLaboklab(39.8% -0.0918 0.0606)
OKLCHoklch(39.8% 0.11 146.6)
XYZxyz(3.7718, 6.8556, 2.4205)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F561F #560F46
analogous
#23560F #0F561F #0F5643
triadic
#0F561F #1F0F56 #561F0F
tetradic
#0F561F #0F2356 #560F46 #56430F
square
#0F561F #0F2356 #560F46 #56430F
split-complementary
#0F561F #430F56 #560F23
monochromatic
#051A09 #06220C #0F561F #188A32 #21BE45

Accessibility & contrast

On white

8.86
#0F561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0F561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F561F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F561F#FFFFFF#000000##FFFFFF
##0F561F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D19
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f561f;
/* rgb */ color: rgb(15, 86, 31);
/* oklch */ color: oklch(39.8% 0.110 146.6);
Tailwind
colors: {
  custom: {
    50: '#5b865d',
    500: '#0f561f',
    950: '#000000',
  },
}
SCSS
$custom: #0f561f;
$custom-light: #5b865d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f561f",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 133.521,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.10997,
    "h": 146.6
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#0F561F
secondary
#90317A
accent
#3BC5ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F561F

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

Preview Lab → · Contrast checker → · Palette generator →

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