#0F5C2F#0F5C2F

#0F5C2F is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.103 H 152.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#0F5C2F
RGBrgb(15, 92, 47)
HSLhsl(145, 72%, 21%)
HSVhsv(145, 84%, 36%)
CMYKcmyk(83.7%, 0%, 48.9%, 63.9%)
CIE-LABlab(33.90, -33.71, 19.63)
CIE-LCHlch(33.90, 39.01, 149.80°)
OKLaboklab(41.88% -0.0906 0.0482)
OKLCHoklch(41.88% 0.103 152)
XYZxyz(4.5368, 7.9605, 3.9862)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C2F #5C0F3C
analogous
#155C0F #0F5C2F #0F5C55
triadic
#0F5C2F #2F0F5C #5C2F0F
tetradic
#0F5C2F #0F155C #5C0F3C #5C550F
square
#0F5C2F #0F155C #5C0F3C #5C550F
split-complementary
#0F5C2F #550F5C #5C0F15
monochromatic
#041A0D #062714 #0F5C2F #18914A #20C565

Accessibility & contrast

On white

8.10
#0F5C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#0F5C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C2F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C2F#FFFFFF#000000##FFFFFF
##0F5C2F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532C
Deuteranopia (green-blind)
#534D32
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5c2f;
/* rgb */ color: rgb(15, 92, 47);
/* oklch */ color: oklch(41.9% 0.103 152.0);
Tailwind
colors: {
  custom: {
    50: '#5c8b68',
    500: '#0f5c2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c2f;
$custom-light: #5c8b68;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c2f",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 144.935,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41879,
    "c": 0.10263,
    "h": 152
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#0F5C2F
secondary
#95316C
accent
#39A3EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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