#0F5E2C#0F5E2C

#0F5E2C is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.109 H 150.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#0F5E2C
RGBrgb(15, 94, 44)
HSLhsl(142, 72%, 21%)
HSVhsv(142, 84%, 37%)
CMYKcmyk(84%, 0%, 53.2%, 63.1%)
CIE-LABlab(34.58, -35.08, 22.21)
CIE-LCHlch(34.58, 41.52, 147.67°)
OKLaboklab(42.42% -0.0942 0.054)
OKLCHoklch(42.42% 0.109 150.2)
XYZxyz(4.6539, 8.2883, 3.7369)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E2C #5E0F41
analogous
#1A5E0F #0F5E2C #0F5E54
triadic
#0F5E2C #2C0F5E #5E2C0F
tetradic
#0F5E2C #0F1A5E #5E0F41 #5E540F
square
#0F5E2C #0F1A5E #5E0F41 #5E540F
split-complementary
#0F5E2C #540F5E #5E0F1A
monochromatic
#041A0C #072913 #0F5E2C #179345 #20C85D

Accessibility & contrast

On white

7.90
#0F5E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#0F5E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E2C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E2C#FFFFFF#000000##FFFFFF
##0F5E2C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5528
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e2c;
/* rgb */ color: rgb(15, 94, 44);
/* oklch */ color: oklch(42.4% 0.109 150.2);
Tailwind
colors: {
  custom: {
    50: '#5d8c66',
    500: '#0f5e2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e2c;
$custom-light: #5d8c66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e2c",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 44
  },
  "hsl": {
    "h": 142.025,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42423,
    "c": 0.10856,
    "h": 150.2
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#0F5E2C
secondary
#973172
accent
#39ACEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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