#0F5620#0F5620

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

Color values

HEX#0F5620
RGBrgb(15, 86, 32)
HSLhsl(134, 70%, 20%)
HSVhsv(134, 83%, 34%)
CMYKcmyk(82.6%, 0%, 62.8%, 66.3%)
CIE-LABlab(31.49, -33.94, 25.10)
CIE-LCHlch(31.49, 42.22, 143.52°)
OKLaboklab(39.81% -0.0913 0.0595)
OKLCHoklch(39.81% 0.109 146.9)
XYZxyz(3.7852, 6.8610, 2.4910)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5620 #560F45
analogous
#22560F #0F5620 #0F5644
triadic
#0F5620 #200F56 #56200F
tetradic
#0F5620 #0F2256 #560F45 #56440F
square
#0F5620 #0F2256 #560F45 #56440F
split-complementary
#0F5620 #440F56 #560F22
monochromatic
#051A0A #06220D #0F5620 #188A33 #21BE47

Accessibility & contrast

On white

8.85
#0F5620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5620
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5620#FFFFFF#000000##FFFFFF
##0F56201.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5620;
/* rgb */ color: rgb(15, 86, 32);
/* oklch */ color: oklch(39.8% 0.109 146.9);
Tailwind
colors: {
  custom: {
    50: '#5b865d',
    500: '#0f5620',
    950: '#000000',
  },
}
SCSS
$custom: #0f5620;
$custom-light: #5b865d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5620",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 32
  },
  "hsl": {
    "h": 134.366,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.10904,
    "h": 146.9
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#0F5620
secondary
#903179
accent
#3BC2ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5620

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

Preview Lab → · Contrast checker → · Palette generator →

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