#0F5F35#0F5F35

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

Color values

HEX#0F5F35
RGBrgb(15, 95, 53)
HSLhsl(149, 73%, 22%)
HSVhsv(149, 84%, 37%)
CMYKcmyk(84.2%, 0%, 44.2%, 62.7%)
CIE-LABlab(35.09, -33.72, 17.65)
CIE-LCHlch(35.09, 38.06, 152.38°)
OKLaboklab(42.9% -0.0908 0.0438)
OKLCHoklch(42.9% 0.101 154.2)
XYZxyz(4.9313, 8.5424, 4.7564)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F35 #5F0F39
analogous
#115F0F #0F5F35 #0F5F5D
triadic
#0F5F35 #350F5F #5F350F
tetradic
#0F5F35 #0F115F #5F0F39 #5F5D0F
square
#0F5F35 #0F115F #5F0F39 #5F5D0F
split-complementary
#0F5F35 #5D0F5F #5F0F11
monochromatic
#041A0F #072A18 #0F5F35 #179452 #20C970

Accessibility & contrast

On white

7.75
#0F5F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5F35
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F35#FFFFFF#000000##FFFFFF
##0F5F351.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5632
Deuteranopia (green-blind)
#565038
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f35;
/* rgb */ color: rgb(15, 95, 53);
/* oklch */ color: oklch(42.9% 0.101 154.2);
Tailwind
colors: {
  custom: {
    50: '#5d8d6c',
    500: '#0f5f35',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f35;
$custom-light: #5d8d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f35",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 53
  },
  "hsl": {
    "h": 148.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.10078,
    "h": 154.2
  },
  "luminance": 0.08543
}

Semantic roles & 50–950 ramp

primary
#0F5F35
secondary
#983267
accent
#3898EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5F35

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

Preview Lab → · Contrast checker → · Palette generator →

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