#0F5D32#0F5D32

#0F5D32 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.2% C 0.101 H 153.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#0F5D32
RGBrgb(15, 93, 50)
HSLhsl(147, 72%, 21%)
HSVhsv(147, 84%, 36%)
CMYKcmyk(83.9%, 0%, 46.2%, 63.5%)
CIE-LABlab(34.31, -33.52, 18.40)
CIE-LCHlch(34.31, 38.24, 151.23°)
OKLaboklab(42.24% -0.0901 0.0455)
OKLCHoklch(42.24% 0.101 153.2)
XYZxyz(4.6866, 8.1600, 4.3450)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D32 #5D0F3A
analogous
#135D0F #0F5D32 #0F5D59
triadic
#0F5D32 #320F5D #5D320F
tetradic
#0F5D32 #0F135D #5D0F3A #5D590F
square
#0F5D32 #0F135D #5D0F3A #5D590F
split-complementary
#0F5D32 #590F5D #5D0F13
monochromatic
#041A0E #062816 #0F5D32 #17924E #20C66B

Accessibility & contrast

On white

7.98
#0F5D32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#0F5D32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D32
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D32#FFFFFF#000000##FFFFFF
##0F5D321.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D552F
Deuteranopia (green-blind)
#544E35
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5d32;
/* rgb */ color: rgb(15, 93, 50);
/* oklch */ color: oklch(42.2% 0.101 153.2);
Tailwind
colors: {
  custom: {
    50: '#5c8c6a',
    500: '#0f5d32',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d32;
$custom-light: #5c8c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d32",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 50
  },
  "hsl": {
    "h": 146.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.10098,
    "h": 153.2
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#0F5D32
secondary
#963169
accent
#399DEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5D32

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

Preview Lab → · Contrast checker → · Palette generator →

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