#0F5F34#0F5F34

#0F5F34 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.102 H 153.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#0F5F34
RGBrgb(15, 95, 52)
HSLhsl(148, 73%, 22%)
HSVhsv(148, 84%, 37%)
CMYKcmyk(84.2%, 0%, 45.3%, 62.7%)
CIE-LABlab(35.07, -33.93, 18.21)
CIE-LCHlch(35.07, 38.51, 151.78°)
OKLaboklab(42.87% -0.0913 0.0451)
OKLCHoklch(42.87% 0.102 153.7)
XYZxyz(4.9086, 8.5333, 4.6365)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F34 #5F0F3A
analogous
#125F0F #0F5F34 #0F5F5C
triadic
#0F5F34 #340F5F #5F340F
tetradic
#0F5F34 #0F125F #5F0F3A #5F5C0F
square
#0F5F34 #0F125F #5F0F3A #5F5C0F
split-complementary
#0F5F34 #5C0F5F #5F0F12
monochromatic
#041A0E #072A17 #0F5F34 #179451 #20C96E

Accessibility & contrast

On white

7.76
#0F5F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#0F5F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F34
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F34#FFFFFF#000000##FFFFFF
##0F5F341.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5631
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f34;
/* rgb */ color: rgb(15, 95, 52);
/* oklch */ color: oklch(42.9% 0.102 153.7);
Tailwind
colors: {
  custom: {
    50: '#5d8d6c',
    500: '#0f5f34',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f34;
$custom-light: #5d8d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f34",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 52
  },
  "hsl": {
    "h": 147.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42874,
    "c": 0.1018,
    "h": 153.7
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#0F5F34
secondary
#983269
accent
#389BEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5F34

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

Preview Lab → · Contrast checker → · Palette generator →

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