#0F5F2A#0F5F2A

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

Color values

HEX#0F5F2A
RGBrgb(15, 95, 42)
HSLhsl(140, 73%, 22%)
HSVhsv(140, 84%, 37%)
CMYKcmyk(84.2%, 0%, 55.8%, 62.7%)
CIE-LABlab(34.91, -35.82, 23.74)
CIE-LCHlch(34.91, 42.97, 146.47°)
OKLaboklab(42.69% -0.0962 0.0573)
OKLCHoklch(42.69% 0.112 149.2)
XYZxyz(4.7067, 8.4526, 3.5735)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F2A #5F0F44
analogous
#1C5F0F #0F5F2A #0F5F52
triadic
#0F5F2A #2A0F5F #5F2A0F
tetradic
#0F5F2A #0F1C5F #5F0F44 #5F520F
square
#0F5F2A #0F1C5F #5F0F44 #5F520F
split-complementary
#0F5F2A #520F5F #5F0F1C
monochromatic
#041A0C #072A13 #0F5F2A #179441 #20C959

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5F2A#FFFFFF#000000##FFFFFF
##0F5F2A1.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)
#605625
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f2a;
/* rgb */ color: rgb(15, 95, 42);
/* oklch */ color: oklch(42.7% 0.112 149.2);
Tailwind
colors: {
  custom: {
    50: '#5d8d65',
    500: '#0f5f2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f2a;
$custom-light: #5d8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f2a",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 140.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.11196,
    "h": 149.2
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#0F5F2A
secondary
#983276
accent
#38B2EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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