#0F5B18#0F5B18

#0F5B18 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.123 H 144.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#0F5B18
RGBrgb(15, 91, 24)
HSLhsl(127, 72%, 21%)
HSVhsv(127, 84%, 36%)
CMYKcmyk(83.5%, 0%, 73.6%, 64.3%)
CIE-LABlab(33.24, -36.85, 31.06)
CIE-LCHlch(33.24, 48.20, 139.88°)
OKLaboklab(41.24% -0.0996 0.0714)
OKLCHoklch(41.24% 0.123 144.4)
XYZxyz(4.1027, 7.6492, 2.1242)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B18 #5B0F52
analogous
#2C5B0F #0F5B18 #0F5B3E
triadic
#0F5B18 #180F5B #5B180F
tetradic
#0F5B18 #0F2C5B #5B0F52 #5B3E0F
square
#0F5B18 #0F2C5B #5B0F52 #5B3E0F
split-complementary
#0F5B18 #3E0F5B #5B0F2C
monochromatic
#041A07 #06260A #0F5B18 #189026 #20C434

Accessibility & contrast

On white

8.30
#0F5B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#0F5B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B18
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B18#FFFFFF#000000##FFFFFF
##0F5B181.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520E
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b18;
/* rgb */ color: rgb(15, 91, 24);
/* oklch */ color: oklch(41.2% 0.123 144.4);
Tailwind
colors: {
  custom: {
    50: '#5d8a59',
    500: '#0f5b18',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b18;
$custom-light: #5d8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b18",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 127.105,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.12251,
    "h": 144.4
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#0F5B18
secondary
#953189
accent
#39D9EE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5B18

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

Preview Lab → · Contrast checker → · Palette generator →

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