#0F5F2F#0F5F2F

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

Color values

HEX#0F5F2F
RGBrgb(15, 95, 47)
HSLhsl(144, 73%, 22%)
HSVhsv(144, 84%, 37%)
CMYKcmyk(84.2%, 0%, 50.5%, 62.7%)
CIE-LABlab(34.98, -34.92, 21.01)
CIE-LCHlch(34.98, 40.75, 148.97°)
OKLaboklab(42.78% -0.0938 0.0514)
OKLCHoklch(42.78% 0.107 151.3)
XYZxyz(4.8019, 8.4906, 4.0746)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F2F #5F0F3F
analogous
#175F0F #0F5F2F #0F5F57
triadic
#0F5F2F #2F0F5F #5F2F0F
tetradic
#0F5F2F #0F175F #5F0F3F #5F570F
square
#0F5F2F #0F175F #5F0F3F #5F570F
split-complementary
#0F5F2F #570F5F #5F0F17
monochromatic
#041A0D #072A15 #0F5F2F #179449 #20C963

Accessibility & contrast

On white

7.78
#0F5F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5F2F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F2F#FFFFFF#000000##FFFFFF
##0F5F2F1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562B
Deuteranopia (green-blind)
#565032
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f2f;
/* rgb */ color: rgb(15, 95, 47);
/* oklch */ color: oklch(42.8% 0.107 151.3);
Tailwind
colors: {
  custom: {
    50: '#5d8d68',
    500: '#0f5f2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f2f;
$custom-light: #5d8d68;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f2f",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 144,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.10694,
    "h": 151.3
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#0F5F2F
secondary
#98326F
accent
#38A6EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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