#0F5A24#0F5A24

#0F5A24 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.111 H 147.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#0F5A24
RGBrgb(15, 90, 36)
HSLhsl(137, 71%, 21%)
HSVhsv(137, 83%, 35%)
CMYKcmyk(83.3%, 0%, 60%, 64.7%)
CIE-LABlab(33.01, -34.87, 24.74)
CIE-LCHlch(33.01, 42.76, 144.65°)
OKLaboklab(41.09% -0.0938 0.0591)
OKLCHoklch(41.09% 0.111 147.8)
XYZxyz(4.1713, 7.5408, 2.9044)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A24 #5A0F45
analogous
#1F5A0F #0F5A24 #0F5A49
triadic
#0F5A24 #240F5A #5A240F
tetradic
#0F5A24 #0F1F5A #5A0F45 #5A490F
square
#0F5A24 #0F1F5A #5A0F45 #5A490F
split-complementary
#0F5A24 #490F5A #5A0F1F
monochromatic
#041A0A #06260F #0F5A24 #188E39 #20C34E

Accessibility & contrast

On white

8.37
#0F5A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#0F5A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A24
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A24#FFFFFF#000000##FFFFFF
##0F5A241.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511F
Deuteranopia (green-blind)
#534B28
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5a24;
/* rgb */ color: rgb(15, 90, 36);
/* oklch */ color: oklch(41.1% 0.111 147.8);
Tailwind
colors: {
  custom: {
    50: '#5c8960',
    500: '#0f5a24',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a24;
$custom-light: #5c8960;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a24",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 36
  },
  "hsl": {
    "h": 136.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.11082,
    "h": 147.8
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#0F5A24
secondary
#943178
accent
#3ABCEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5A24

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

Preview Lab → · Contrast checker → · Palette generator →

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