#0F5F2C#0F5F2C

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

Color values

HEX#0F5F2C
RGBrgb(15, 95, 44)
HSLhsl(142, 73%, 22%)
HSVhsv(142, 84%, 37%)
CMYKcmyk(84.2%, 0%, 53.7%, 62.7%)
CIE-LABlab(34.94, -35.47, 22.66)
CIE-LCHlch(34.94, 42.09, 147.43°)
OKLaboklab(42.72% -0.0952 0.055)
OKLCHoklch(42.72% 0.11 150)
XYZxyz(4.7434, 8.4672, 3.7667)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F2C #5F0F42
analogous
#1A5F0F #0F5F2C #0F5F54
triadic
#0F5F2C #2C0F5F #5F2C0F
tetradic
#0F5F2C #0F1A5F #5F0F42 #5F540F
square
#0F5F2C #0F1A5F #5F0F42 #5F540F
split-complementary
#0F5F2C #540F5F #5F0F1A
monochromatic
#041A0C #072A14 #0F5F2C #179444 #20C95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5F2C#FFFFFF#000000##FFFFFF
##0F5F2C1.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)
#605628
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f2c;
/* rgb */ color: rgb(15, 95, 44);
/* oklch */ color: oklch(42.7% 0.110 150.0);
Tailwind
colors: {
  custom: {
    50: '#5d8d66',
    500: '#0f5f2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f2c;
$custom-light: #5d8d66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f2c",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 141.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42722,
    "c": 0.10997,
    "h": 150
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#0F5F2C
secondary
#983273
accent
#38ADEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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