#0F5C24#0F5C24

#0F5C24 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.114 H 147.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#0F5C24
RGBrgb(15, 92, 36)
HSLhsl(136, 72%, 21%)
HSVhsv(136, 84%, 36%)
CMYKcmyk(83.7%, 0%, 60.9%, 63.9%)
CIE-LABlab(33.74, -35.64, 25.61)
CIE-LCHlch(33.74, 43.89, 144.30°)
OKLaboklab(41.69% -0.0958 0.061)
OKLCHoklch(41.69% 0.114 147.5)
XYZxyz(4.3422, 7.8827, 2.9614)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C24 #5C0F47
analogous
#205C0F #0F5C24 #0F5C4A
triadic
#0F5C24 #240F5C #5C240F
tetradic
#0F5C24 #0F205C #5C0F47 #5C4A0F
square
#0F5C24 #0F205C #5C0F47 #5C4A0F
split-complementary
#0F5C24 #4A0F5C #5C0F20
monochromatic
#041A0A #06270F #0F5C24 #189139 #20C54D

Accessibility & contrast

On white

8.15
#0F5C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5C24
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C24#FFFFFF#000000##FFFFFF
##0F5C241.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531F
Deuteranopia (green-blind)
#554D28
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c24;
/* rgb */ color: rgb(15, 92, 36);
/* oklch */ color: oklch(41.7% 0.114 147.5);
Tailwind
colors: {
  custom: {
    50: '#5d8b60',
    500: '#0f5c24',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c24;
$custom-light: #5d8b60;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c24",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 36
  },
  "hsl": {
    "h": 136.364,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41691,
    "c": 0.11359,
    "h": 147.5
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#0F5C24
secondary
#95317A
accent
#39BDEF
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5C24

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

Preview Lab → · Contrast checker → · Palette generator →

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