#0F5C1E#0F5C1E

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

Color values

HEX#0F5C1E
RGBrgb(15, 92, 30)
HSLhsl(132, 72%, 21%)
HSVhsv(132, 84%, 36%)
CMYKcmyk(83.7%, 0%, 67.4%, 63.9%)
CIE-LABlab(33.67, -36.50, 28.65)
CIE-LCHlch(33.67, 46.40, 141.87°)
OKLaboklab(41.61% -0.0984 0.067)
OKLCHoklch(41.61% 0.119 145.7)
XYZxyz(4.2582, 7.8491, 2.5186)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C1E #5C0F4D
analogous
#265C0F #0F5C1E #0F5C44
triadic
#0F5C1E #1E0F5C #5C1E0F
tetradic
#0F5C1E #0F265C #5C0F4D #5C440F
square
#0F5C1E #0F265C #5C0F4D #5C440F
split-complementary
#0F5C1E #440F5C #5C0F26
monochromatic
#041A09 #06270D #0F5C1E #18912F #20C540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5C1E#FFFFFF#000000##FFFFFF
##0F5C1E1.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)
#5E5317
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c1e;
/* rgb */ color: rgb(15, 92, 30);
/* oklch */ color: oklch(41.6% 0.119 145.7);
Tailwind
colors: {
  custom: {
    50: '#5d8b5c',
    500: '#0f5c1e',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c1e;
$custom-light: #5d8b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c1e",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 30
  },
  "hsl": {
    "h": 131.688,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.11899,
    "h": 145.7
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#0F5C1E
secondary
#953182
accent
#39CBEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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