#0F5A11#0F5A11

#0F5A11 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.126 H 143.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#0F5A11
RGBrgb(15, 90, 17)
HSLhsl(122, 71%, 21%)
HSVhsv(122, 83%, 35%)
CMYKcmyk(83.3%, 0%, 81.1%, 64.7%)
CIE-LABlab(32.82, -37.18, 33.60)
CIE-LCHlch(32.82, 50.11, 137.90°)
OKLaboklab(40.87% -0.1008 0.0757)
OKLCHoklch(40.87% 0.126 143.1)
XYZxyz(3.9541, 7.4539, 1.7606)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A11 #5A0F58
analogous
#325A0F #0F5A11 #0F5A36
triadic
#0F5A11 #110F5A #5A110F
tetradic
#0F5A11 #0F325A #5A0F58 #5A360F
square
#0F5A11 #0F325A #5A0F58 #5A360F
split-complementary
#0F5A11 #360F5A #5A0F32
monochromatic
#041A05 #062607 #0F5A11 #188E1B #20C325

Accessibility & contrast

On white

8.43
#0F5A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#0F5A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A11
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A11#FFFFFF#000000##FFFFFF
##0F5A111.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5103
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5a11;
/* rgb */ color: rgb(15, 90, 17);
/* oklch */ color: oklch(40.9% 0.126 143.1);
Tailwind
colors: {
  custom: {
    50: '#5d8955',
    500: '#0f5a11',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a11;
$custom-light: #5d8955;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a11",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 121.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.12606,
    "h": 143.1
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#0F5A11
secondary
#943191
accent
#3AE9EE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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