#0F5A1A#0F5A1A

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

Color values

HEX#0F5A1A
RGBrgb(15, 90, 26)
HSLhsl(129, 71%, 21%)
HSVhsv(129, 83%, 35%)
CMYKcmyk(83.3%, 0%, 71.1%, 64.7%)
CIE-LABlab(32.89, -36.26, 29.75)
CIE-LCHlch(32.89, 46.90, 140.64°)
OKLaboklab(40.95% -0.0979 0.0689)
OKLCHoklch(40.95% 0.12 144.9)
XYZxyz(4.0393, 7.4880, 2.2095)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A1A #5A0F4F
analogous
#295A0F #0F5A1A #0F5A3F
triadic
#0F5A1A #1A0F5A #5A1A0F
tetradic
#0F5A1A #0F295A #5A0F4F #5A3F0F
square
#0F5A1A #0F295A #5A0F4F #5A3F0F
split-complementary
#0F5A1A #3F0F5A #5A0F29
monochromatic
#041A08 #06260B #0F5A1A #188E29 #20C338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5A1A#FFFFFF#000000##FFFFFF
##0F5A1A1.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)
#5C5112
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5a1a;
/* rgb */ color: rgb(15, 90, 26);
/* oklch */ color: oklch(41.0% 0.120 144.9);
Tailwind
colors: {
  custom: {
    50: '#5d895a',
    500: '#0f5a1a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a1a;
$custom-light: #5d895a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a1a",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 26
  },
  "hsl": {
    "h": 128.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40954,
    "c": 0.11966,
    "h": 144.9
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#0F5A1A
secondary
#943185
accent
#3AD4EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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