#0F5F33#0F5F33

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

Color values

HEX#0F5F33
RGBrgb(15, 95, 51)
HSLhsl(147, 73%, 22%)
HSVhsv(147, 84%, 37%)
CMYKcmyk(84.2%, 0%, 46.3%, 62.7%)
CIE-LABlab(35.05, -34.14, 18.77)
CIE-LCHlch(35.05, 38.96, 151.19°)
OKLaboklab(42.85% -0.0918 0.0464)
OKLCHoklch(42.85% 0.103 153.2)
XYZxyz(4.8863, 8.5244, 4.5192)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F33 #5F0F3B
analogous
#135F0F #0F5F33 #0F5F5B
triadic
#0F5F33 #330F5F #5F330F
tetradic
#0F5F33 #0F135F #5F0F3B #5F5B0F
square
#0F5F33 #0F135F #5F0F3B #5F5B0F
split-complementary
#0F5F33 #5B0F5F #5F0F13
monochromatic
#041A0E #072A17 #0F5F33 #17944F #20C96C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5F33#FFFFFF#000000##FFFFFF
##0F5F331.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)
#5F5630
Deuteranopia (green-blind)
#565036
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f33;
/* rgb */ color: rgb(15, 95, 51);
/* oklch */ color: oklch(42.9% 0.103 153.2);
Tailwind
colors: {
  custom: {
    50: '#5d8d6b',
    500: '#0f5f33',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f33;
$custom-light: #5d8d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f33",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 51
  },
  "hsl": {
    "h": 147,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.10285,
    "h": 153.2
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#0F5F33
secondary
#98326A
accent
#389DEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5F33

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

Preview Lab → · Contrast checker → · Palette generator →

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