#0F5F32#0F5F32

#0F5F32 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.104 H 152.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#0F5F32
RGBrgb(15, 95, 50)
HSLhsl(146, 73%, 22%)
HSVhsv(146, 84%, 37%)
CMYKcmyk(84.2%, 0%, 47.4%, 62.7%)
CIE-LABlab(35.03, -34.34, 19.34)
CIE-LCHlch(35.03, 39.41, 150.62°)
OKLaboklab(42.83% -0.0923 0.0477)
OKLCHoklch(42.83% 0.104 152.7)
XYZxyz(4.8645, 8.5157, 4.4043)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F32 #5F0F3C
analogous
#145F0F #0F5F32 #0F5F5A
triadic
#0F5F32 #320F5F #5F320F
tetradic
#0F5F32 #0F145F #5F0F3C #5F5A0F
square
#0F5F32 #0F145F #5F0F3C #5F5A0F
split-complementary
#0F5F32 #5A0F5F #5F0F14
monochromatic
#041A0E #072A16 #0F5F32 #17944E #20C96A

Accessibility & contrast

On white

7.77
#0F5F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#0F5F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F32
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F32#FFFFFF#000000##FFFFFF
##0F5F321.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5f32;
/* rgb */ color: rgb(15, 95, 50);
/* oklch */ color: oklch(42.8% 0.104 152.7);
Tailwind
colors: {
  custom: {
    50: '#5d8d6a',
    500: '#0f5f32',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f32;
$custom-light: #5d8d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f32",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 50
  },
  "hsl": {
    "h": 146.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.10387,
    "h": 152.7
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#0F5F32
secondary
#98326B
accent
#389FEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5F32

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

Preview Lab → · Contrast checker → · Palette generator →

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