#0F5A1E#0F5A1E

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

Color values

HEX#0F5A1E
RGBrgb(15, 90, 30)
HSLhsl(132, 71%, 21%)
HSVhsv(132, 83%, 35%)
CMYKcmyk(83.3%, 0%, 66.7%, 64.7%)
CIE-LABlab(32.93, -35.75, 27.82)
CIE-LCHlch(32.93, 45.30, 142.12°)
OKLaboklab(41% -0.0963 0.0652)
OKLCHoklch(41% 0.116 145.9)
XYZxyz(4.0872, 7.5071, 2.4617)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A1E #5A0F4B
analogous
#255A0F #0F5A1E #0F5A43
triadic
#0F5A1E #1E0F5A #5A1E0F
tetradic
#0F5A1E #0F255A #5A0F4B #5A430F
square
#0F5A1E #0F255A #5A0F4B #5A430F
split-complementary
#0F5A1E #430F5A #5A0F25
monochromatic
#041A09 #06260D #0F5A1E #188E2F #20C341

Accessibility & contrast

On white

8.39
#0F5A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A1E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A1E#FFFFFF#000000##FFFFFF
##0F5A1E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5117
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5a1e;
/* rgb */ color: rgb(15, 90, 30);
/* oklch */ color: oklch(41.0% 0.116 145.9);
Tailwind
colors: {
  custom: {
    50: '#5c895c',
    500: '#0f5a1e',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a1e;
$custom-light: #5c895c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a1e",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 30
  },
  "hsl": {
    "h": 132,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41002,
    "c": 0.11631,
    "h": 145.9
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#0F5A1E
secondary
#943180
accent
#3ACAEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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