#0F561C#0F561C

#0F561C is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.113 H 145.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#0F561C
RGBrgb(15, 86, 28)
HSLhsl(131, 70%, 20%)
HSVhsv(131, 83%, 34%)
CMYKcmyk(82.6%, 0%, 67.4%, 66.3%)
CIE-LABlab(31.44, -34.51, 27.14)
CIE-LCHlch(31.44, 43.91, 141.82°)
OKLaboklab(39.76% -0.093 0.0635)
OKLCHoklch(39.76% 0.113 145.7)
XYZxyz(3.7341, 6.8405, 2.2219)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F561C #560F49
analogous
#26560F #0F561C #0F5640
triadic
#0F561C #1C0F56 #561C0F
tetradic
#0F561C #0F2656 #560F49 #56400F
square
#0F561C #0F2656 #560F49 #56400F
split-complementary
#0F561C #400F56 #560F26
monochromatic
#051A08 #06220B #0F561C #188A2D #21BE3E

Accessibility & contrast

On white

8.87
#0F561C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F561C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F561C#FFFFFF#000000##FFFFFF
##0F561C1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f561c;
/* rgb */ color: rgb(15, 86, 28);
/* oklch */ color: oklch(39.8% 0.113 145.7);
Tailwind
colors: {
  custom: {
    50: '#5b865b',
    500: '#0f561c',
    950: '#000000',
  },
}
SCSS
$custom: #0f561c;
$custom-light: #5b865b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f561c",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 28
  },
  "hsl": {
    "h": 130.986,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39755,
    "c": 0.11267,
    "h": 145.7
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#0F561C
secondary
#90317E
accent
#3BCCED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F561C

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

Preview Lab → · Contrast checker → · Palette generator →

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