#0F561B#0F561B

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

Color values

HEX#0F561B
RGBrgb(15, 86, 27)
HSLhsl(130, 70%, 20%)
HSVhsv(130, 83%, 34%)
CMYKcmyk(82.6%, 0%, 68.6%, 66.3%)
CIE-LABlab(31.43, -34.64, 27.63)
CIE-LCHlch(31.43, 44.31, 141.42°)
OKLaboklab(39.74% -0.0934 0.0645)
OKLCHoklch(39.74% 0.114 145.4)
XYZxyz(3.7224, 6.8358, 2.1600)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F561B #560F4A
analogous
#26560F #0F561B #0F563F
triadic
#0F561B #1B0F56 #561B0F
tetradic
#0F561B #0F2656 #560F4A #563F0F
square
#0F561B #0F2656 #560F4A #563F0F
split-complementary
#0F561B #3F0F56 #560F26
monochromatic
#051A08 #06220B #0F561B #188A2B #21BE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F561B#FFFFFF#000000##FFFFFF
##0F561B1.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)
#574D14
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f561b;
/* rgb */ color: rgb(15, 86, 27);
/* oklch */ color: oklch(39.7% 0.114 145.4);
Tailwind
colors: {
  custom: {
    50: '#5b865a',
    500: '#0f561b',
    950: '#000000',
  },
}
SCSS
$custom: #0f561b;
$custom-light: #5b865a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f561b",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 130.141,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39743,
    "c": 0.11353,
    "h": 145.4
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#0F561B
secondary
#903180
accent
#3BCFED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F561B

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

Preview Lab → · Contrast checker → · Palette generator →

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