#0F5D1A#0F5D1A

#0F5D1A is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.9% C 0.124 H 144.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#0F5D1A
RGBrgb(15, 93, 26)
HSLhsl(128, 72%, 21%)
HSVhsv(128, 84%, 36%)
CMYKcmyk(83.9%, 0%, 72%, 63.5%)
CIE-LABlab(33.99, -37.36, 30.94)
CIE-LCHlch(33.99, 48.51, 140.36°)
OKLaboklab(41.87% -0.1008 0.0714)
OKLCHoklch(41.87% 0.124 144.7)
XYZxyz(4.2975, 8.0043, 2.2956)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D1A #5D0F52
analogous
#2B5D0F #0F5D1A #0F5D41
triadic
#0F5D1A #1A0F5D #5D1A0F
tetradic
#0F5D1A #0F2B5D #5D0F52 #5D410F
square
#0F5D1A #0F2B5D #5D0F52 #5D410F
split-complementary
#0F5D1A #410F5D #5D0F2B
monochromatic
#041A07 #06280B #0F5D1A #179229 #20C637

Accessibility & contrast

On white

8.07
#0F5D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#0F5D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D1A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D1A#FFFFFF#000000##FFFFFF
##0F5D1A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5411
Deuteranopia (green-blind)
#564E20
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d1a;
/* rgb */ color: rgb(15, 93, 26);
/* oklch */ color: oklch(41.9% 0.124 144.7);
Tailwind
colors: {
  custom: {
    50: '#5d8c5a',
    500: '#0f5d1a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d1a;
$custom-light: #5d8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d1a",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 26
  },
  "hsl": {
    "h": 128.462,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41867,
    "c": 0.12355,
    "h": 144.7
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#0F5D1A
secondary
#963188
accent
#39D5EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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