#0F5720#0F5720

#0F5720 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.110 H 146.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#0F5720
RGBrgb(15, 87, 32)
HSLhsl(134, 71%, 20%)
HSVhsv(134, 83%, 34%)
CMYKcmyk(82.8%, 0%, 63.2%, 65.9%)
CIE-LABlab(31.86, -34.33, 25.53)
CIE-LCHlch(31.86, 42.78, 143.36°)
OKLaboklab(40.12% -0.0924 0.0605)
OKLCHoklch(40.12% 0.11 146.8)
XYZxyz(3.8656, 7.0218, 2.5178)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5720 #570F46
analogous
#22570F #0F5720 #0F5744
triadic
#0F5720 #200F57 #57200F
tetradic
#0F5720 #0F2257 #570F46 #57440F
square
#0F5720 #0F2257 #570F46 #57440F
split-complementary
#0F5720 #440F57 #570F22
monochromatic
#051A0A #06230D #0F5720 #188B33 #21BF46

Accessibility & contrast

On white

8.73
#0F5720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#0F5720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5720
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5720#FFFFFF#000000##FFFFFF
##0F57201.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1A
Deuteranopia (green-blind)
#504924
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5720;
/* rgb */ color: rgb(15, 87, 32);
/* oklch */ color: oklch(40.1% 0.110 146.8);
Tailwind
colors: {
  custom: {
    50: '#5b875d',
    500: '#0f5720',
    950: '#000000',
  },
}
SCSS
$custom: #0f5720;
$custom-light: #5b875d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5720",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 32
  },
  "hsl": {
    "h": 134.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.11043,
    "h": 146.8
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#0F5720
secondary
#91317A
accent
#3AC3ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5720

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

Preview Lab → · Contrast checker → · Palette generator →

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