#0F5717#0F5717

#0F5717 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.118 H 144.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#0F5717
RGBrgb(15, 87, 23)
HSLhsl(127, 71%, 20%)
HSVhsv(127, 83%, 34%)
CMYKcmyk(82.8%, 0%, 73.6%, 65.9%)
CIE-LABlab(31.76, -35.50, 29.93)
CIE-LCHlch(31.76, 46.44, 139.86°)
OKLaboklab(40% -0.0959 0.0689)
OKLCHoklch(40% 0.118 144.3)
XYZxyz(3.7596, 6.9794, 1.9595)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5717 #570F4F
analogous
#2B570F #0F5717 #0F573B
triadic
#0F5717 #170F57 #57170F
tetradic
#0F5717 #0F2B57 #570F4F #573B0F
square
#0F5717 #0F2B57 #570F4F #573B0F
split-complementary
#0F5717 #3B0F57 #570F2B
monochromatic
#051A07 #062309 #0F5717 #188B25 #21BF33

Accessibility & contrast

On white

8.76
#0F5717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5717
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5717#FFFFFF#000000##FFFFFF
##0F57171.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0E
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5717;
/* rgb */ color: rgb(15, 87, 23);
/* oklch */ color: oklch(40.0% 0.118 144.3);
Tailwind
colors: {
  custom: {
    50: '#5c8758',
    500: '#0f5717',
    950: '#000000',
  },
}
SCSS
$custom: #0f5717;
$custom-light: #5c8758;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5717",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 126.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40004,
    "c": 0.11811,
    "h": 144.3
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#0F5717
secondary
#913186
accent
#3AD9ED
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5717

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

Preview Lab → · Contrast checker → · Palette generator →

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