#0F5C2A#0F5C2A

#0F5C2A is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.108 H 149.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#0F5C2A
RGBrgb(15, 92, 42)
HSLhsl(141, 72%, 21%)
HSVhsv(141, 84%, 36%)
CMYKcmyk(83.7%, 0%, 54.3%, 63.9%)
CIE-LABlab(33.82, -34.65, 22.40)
CIE-LCHlch(33.82, 41.26, 147.12°)
OKLaboklab(41.79% -0.0931 0.0543)
OKLCHoklch(41.79% 0.108 149.8)
XYZxyz(4.4417, 7.9225, 3.4851)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C2A #5C0F41
analogous
#1A5C0F #0F5C2A #0F5C50
triadic
#0F5C2A #2A0F5C #5C2A0F
tetradic
#0F5C2A #0F1A5C #5C0F41 #5C500F
square
#0F5C2A #0F1A5C #5C0F41 #5C500F
split-complementary
#0F5C2A #500F5C #5C0F1A
monochromatic
#041A0C #062712 #0F5C2A #189142 #20C55A

Accessibility & contrast

On white

8.13
#0F5C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#0F5C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C2A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C2A#FFFFFF#000000##FFFFFF
##0F5C2A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5326
Deuteranopia (green-blind)
#544D2E
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5c2a;
/* rgb */ color: rgb(15, 92, 42);
/* oklch */ color: oklch(41.8% 0.108 149.8);
Tailwind
colors: {
  custom: {
    50: '#5c8b64',
    500: '#0f5c2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c2a;
$custom-light: #5c8b64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c2a",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 141.039,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41787,
    "c": 0.10773,
    "h": 149.8
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#0F5C2A
secondary
#953172
accent
#39AFEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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