#0F5A19#0F5A19

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

Color values

HEX#0F5A19
RGBrgb(15, 90, 25)
HSLhsl(128, 71%, 21%)
HSVhsv(128, 83%, 35%)
CMYKcmyk(83.3%, 0%, 72.2%, 64.7%)
CIE-LABlab(32.88, -36.38, 30.21)
CIE-LCHlch(32.88, 47.28, 140.29°)
OKLaboklab(40.94% -0.0982 0.0697)
OKLCHoklch(40.94% 0.12 144.6)
XYZxyz(4.0284, 7.4836, 2.1517)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A19 #5A0F50
analogous
#2A5A0F #0F5A19 #0F5A3E
triadic
#0F5A19 #190F5A #5A190F
tetradic
#0F5A19 #0F2A5A #5A0F50 #5A3E0F
square
#0F5A19 #0F2A5A #5A0F50 #5A3E0F
split-complementary
#0F5A19 #3E0F5A #5A0F2A
monochromatic
#041A07 #06260A #0F5A19 #188E28 #20C336

Accessibility & contrast

On white

8.41
#0F5A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#0F5A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A19
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A19#FFFFFF#000000##FFFFFF
##0F5A191.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5a19;
/* rgb */ color: rgb(15, 90, 25);
/* oklch */ color: oklch(40.9% 0.120 144.6);
Tailwind
colors: {
  custom: {
    50: '#5d8959',
    500: '#0f5a19',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a19;
$custom-light: #5d8959;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a19",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 128,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40943,
    "c": 0.12046,
    "h": 144.6
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#0F5A19
secondary
#943186
accent
#3AD6EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5A19

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

Preview Lab → · Contrast checker → · Palette generator →

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