#0F5F2B#0F5F2B

#0F5F2B is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.111 H 149.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#0F5F2B
RGBrgb(15, 95, 43)
HSLhsl(141, 73%, 22%)
HSVhsv(141, 84%, 37%)
CMYKcmyk(84.2%, 0%, 54.7%, 62.7%)
CIE-LABlab(34.92, -35.65, 23.20)
CIE-LCHlch(34.92, 42.53, 146.94°)
OKLaboklab(42.71% -0.0957 0.0561)
OKLCHoklch(42.71% 0.111 149.6)
XYZxyz(4.7249, 8.4598, 3.6689)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F2B #5F0F43
analogous
#1B5F0F #0F5F2B #0F5F53
triadic
#0F5F2B #2B0F5F #5F2B0F
tetradic
#0F5F2B #0F1B5F #5F0F43 #5F530F
square
#0F5F2B #0F1B5F #5F0F43 #5F530F
split-complementary
#0F5F2B #530F5F #5F0F1B
monochromatic
#041A0C #072A13 #0F5F2B #179443 #20C95B

Accessibility & contrast

On white

7.80
#0F5F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#0F5F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F2B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F2B#FFFFFF#000000##FFFFFF
##0F5F2B1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f2b;
/* rgb */ color: rgb(15, 95, 43);
/* oklch */ color: oklch(42.7% 0.111 149.6);
Tailwind
colors: {
  custom: {
    50: '#5d8d65',
    500: '#0f5f2b',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f2b;
$custom-light: #5d8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f2b",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 141,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42705,
    "c": 0.11097,
    "h": 149.6
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#0F5F2B
secondary
#983274
accent
#38AFEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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