#0F5E2A#0F5E2A

#0F5E2A is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.111 H 149.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#0F5E2A
RGBrgb(15, 94, 42)
HSLhsl(141, 72%, 21%)
HSVhsv(141, 84%, 37%)
CMYKcmyk(84%, 0%, 55.3%, 63.1%)
CIE-LABlab(34.55, -35.43, 23.29)
CIE-LCHlch(34.55, 42.40, 146.68°)
OKLaboklab(42.39% -0.0952 0.0563)
OKLCHoklch(42.39% 0.111 149.4)
XYZxyz(4.6172, 8.2736, 3.5437)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E2A #5E0F43
analogous
#1C5E0F #0F5E2A #0F5E52
triadic
#0F5E2A #2A0F5E #5E2A0F
tetradic
#0F5E2A #0F1C5E #5E0F43 #5E520F
square
#0F5E2A #0F1C5E #5E0F43 #5E520F
split-complementary
#0F5E2A #520F5E #5E0F1C
monochromatic
#041A0C #072912 #0F5E2A #179342 #20C859

Accessibility & contrast

On white

7.91
#0F5E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#0F5E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E2A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E2A#FFFFFF#000000##FFFFFF
##0F5E2A1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5526
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e2a;
/* rgb */ color: rgb(15, 94, 42);
/* oklch */ color: oklch(42.4% 0.111 149.4);
Tailwind
colors: {
  custom: {
    50: '#5d8c65',
    500: '#0f5e2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e2a;
$custom-light: #5d8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e2a",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 42
  },
  "hsl": {
    "h": 140.506,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42388,
    "c": 0.11056,
    "h": 149.4
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#0F5E2A
secondary
#973175
accent
#39B1EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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