#0F5C1F#0F5C1F

#0F5C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.6% C 0.118 H 146.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#0F5C1F
RGBrgb(15, 92, 31)
HSLhsl(132, 72%, 21%)
HSVhsv(132, 84%, 36%)
CMYKcmyk(83.7%, 0%, 66.3%, 63.9%)
CIE-LABlab(33.68, -36.36, 28.15)
CIE-LCHlch(33.68, 45.99, 142.25°)
OKLaboklab(41.62% -0.0979 0.066)
OKLCHoklch(41.62% 0.118 146)
XYZxyz(4.2712, 7.8543, 2.5870)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C1F #5C0F4C
analogous
#255C0F #0F5C1F #0F5C45
triadic
#0F5C1F #1F0F5C #5C1F0F
tetradic
#0F5C1F #0F255C #5C0F4C #5C450F
square
#0F5C1F #0F255C #5C0F4C #5C450F
split-complementary
#0F5C1F #450F5C #5C0F25
monochromatic
#041A09 #06270D #0F5C1F #189131 #20C542

Accessibility & contrast

On white

8.17
#0F5C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#0F5C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C1F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C1F#FFFFFF#000000##FFFFFF
##0F5C1F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5318
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c1f;
/* rgb */ color: rgb(15, 92, 31);
/* oklch */ color: oklch(41.6% 0.118 146.0);
Tailwind
colors: {
  custom: {
    50: '#5d8b5d',
    500: '#0f5c1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c1f;
$custom-light: #5d8b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c1f",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 132.468,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.11813,
    "h": 146
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#0F5C1F
secondary
#953181
accent
#39C9EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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